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

Method GetIdOpcode

source/val/validation_state.cpp:936–939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934}
935
936spv::Op ValidationState_t::GetIdOpcode(uint32_t id) const {
937 const Instruction* inst = FindDef(id);
938 return inst ? inst->opcode() : spv::Op::OpNop;
939}
940
941uint32_t ValidationState_t::GetComponentType(uint32_t id) const {
942 const Instruction* inst = FindDef(id);

Callers 15

ValidateImageOperandsFunction · 0.80
ValidateTypeImageFunction · 0.80
ValidateTypeSampledImageFunction · 0.80
ValidateSampledImageFunction · 0.80
ValidateImageLodFunction · 0.80
ValidateImageDrefLodFunction · 0.80
ValidateImageFetchFunction · 0.80
ValidateImageGatherFunction · 0.80
ValidateImageReadFunction · 0.80
ValidateImageWriteFunction · 0.80
ValidateImageFunction · 0.80

Calls 1

opcodeMethod · 0.45

Tested by

no test coverage detected