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

Function DebugPass

source/val/validate_debug.cpp:56–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54} // namespace
55
56spv_result_t DebugPass(ValidationState_t& _, const Instruction* inst) {
57 switch (inst->opcode()) {
58 case spv::Op::OpMemberName:
59 if (auto error = ValidateMemberName(_, inst)) return error;
60 break;
61 case spv::Op::OpLine:
62 if (auto error = ValidateLine(_, inst)) return error;
63 break;
64 default:
65 break;
66 }
67
68 return SPV_SUCCESS;
69}
70
71} // namespace val
72} // namespace spvtools

Calls 3

ValidateMemberNameFunction · 0.85
ValidateLineFunction · 0.85
opcodeMethod · 0.45

Tested by

no test coverage detected