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

Method IsDebugLineInst

source/opt/instruction.cpp:589–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589bool Instruction::IsDebugLineInst() const {
590 NonSemanticShaderDebugInfoInstructions ext_opt = GetShaderDebugOpcode();
591 return ((ext_opt == NonSemanticShaderDebugInfoDebugLine) ||
592 (ext_opt == NonSemanticShaderDebugInfoDebugNoLine));
593}
594
595bool Instruction::IsLineInst() const { return IsLine() || IsNoLine(); }
596

Callers 5

AddInstructionMethod · 0.80
CloneMethod · 0.80
AddDebugLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected