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

Function spvExtInstIsDebugInfo

source/ext_inst.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool spvExtInstIsDebugInfo(const spv_ext_inst_type_t type) {
85 if (type == SPV_EXT_INST_TYPE_OPENCL_DEBUGINFO_100 ||
86 type == SPV_EXT_INST_TYPE_NONSEMANTIC_SHADER_DEBUGINFO_100 ||
87 type == SPV_EXT_INST_TYPE_DEBUGINFO) {
88 return true;
89 }
90 return false;
91}

Callers 6

IsDebugInfoMethod · 0.85
IdPassFunction · 0.85
ModuleScopedInstructionsFunction · 0.85
ValidateAdjacencyFunction · 0.85
AddInstructionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected