MCPcopy Create free account
hub / github.com/dfranx/SHADERed / begin_function_scope

Method begin_function_scope

libs/SPIRVCross/spirv_cross.cpp:2390–2401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2388}
2389
2390bool Compiler::CombinedImageSamplerHandler::begin_function_scope(const uint32_t *args, uint32_t length)
2391{
2392 if (length < 3)
2393 return false;
2394
2395 auto &callee = compiler.get<SPIRFunction>(args[2]);
2396 args += 3;
2397 length -= 3;
2398 push_remap_parameters(callee, args, length);
2399 functions.push(&callee);
2400 return true;
2401}
2402
2403bool Compiler::CombinedImageSamplerHandler::end_function_scope(const uint32_t *args, uint32_t length)
2404{

Callers 1

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected