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

Function ProcessInstruction

source/val/validate.cpp:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82spv_result_t ProcessInstruction(void* user_data,
83 const spv_parsed_instruction_t* inst) {
84 ValidationState_t& _ = *(reinterpret_cast<ValidationState_t*>(user_data));
85
86 auto* instruction = _.AddOrderedInstruction(inst);
87 _.RegisterDebugInstruction(instruction);
88
89 return SPV_SUCCESS;
90}
91
92spv_result_t ValidateForwardDecls(ValidationState_t& _) {
93 if (_.unresolved_forward_id_count() == 0) return SPV_SUCCESS;

Callers

nothing calls this directly

Calls 2

AddOrderedInstructionMethod · 0.80

Tested by

no test coverage detected