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

Function invoke_instruction

test/binary_parse_test.cpp:139–143  ·  view source on GitHub ↗

Casts user_data as MockParseClient and invokes its Instruction().

Source from the content-addressed store, hash-verified

137
138// Casts user_data as MockParseClient and invokes its Instruction().
139spv_result_t invoke_instruction(
140 void* user_data, const spv_parsed_instruction_t* parsed_instruction) {
141 return static_cast<MockParseClient*>(user_data)->Instruction(
142 ParsedInstruction(*parsed_instruction));
143}
144
145// The SPIR-V module header words for the Khronos Assembler generator,
146// for a module with an ID bound of 1.

Callers

nothing calls this directly

Calls 2

ParsedInstructionClass · 0.70
InstructionMethod · 0.45

Tested by

no test coverage detected