MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / function

Method function

source/val/validation_state.cpp:371–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371const Function* ValidationState_t::function(uint32_t id) const {
372 const auto it = id_to_function_.find(id);
373 if (it == id_to_function_.end()) return nullptr;
374 return it->second;
375}
376
377Function* ValidationState_t::function(uint32_t id) {
378 auto it = id_to_function_.find(id);

Callers 15

ValidateImageReadFunction · 0.45
ValidateImageQueryLodFunction · 0.45
ValidateTileImageEXTFunction · 0.45
ImagePassFunction · 0.45
MiscPassFunction · 0.45
ValidateReturnValueFunction · 0.45
ValidateEmitMeshTasksFunction · 0.45
ValidateSetMeshOutputsFunction · 0.45
RegisterInstructionMethod · 0.45
EntryPointReferencesMethod · 0.45

Calls 1

endMethod · 0.45

Tested by 1

TEST_FFunction · 0.36