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

Method IsLine

source/opt/instruction.cpp:597–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595bool Instruction::IsLineInst() const { return IsLine() || IsNoLine(); }
596
597bool Instruction::IsLine() const {
598 if (opcode() == spv::Op::OpLine) return true;
599 NonSemanticShaderDebugInfoInstructions ext_opt = GetShaderDebugOpcode();
600 return ext_opt == NonSemanticShaderDebugInfoDebugLine;
601}
602
603bool Instruction::IsNoLine() const {
604 if (opcode() == spv::Op::OpNoLine) return true;

Callers 2

RewriteFunctionMethod · 0.80
ToBinaryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected