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