| 54 | } // namespace |
| 55 | |
| 56 | spv_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 |
no test coverage detected