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

Function GetUint32Constant

source/val/validate_extensions.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86uint32_t GetUint32Constant(ValidationState_t& _, uint32_t id) {
87 auto inst = _.FindDef(id);
88 return inst->word(3);
89}
90
91std::string GetExtInstName(const ValidationState_t& _,
92 const Instruction* inst) {

Callers 2

ValidateExtInstDebugInfoFunction · 0.85

Calls 2

FindDefMethod · 0.80
wordMethod · 0.80

Tested by

no test coverage detected