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

Function spvOpcodeMake

source/opcode.cpp:59–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59uint32_t spvOpcodeMake(uint16_t wordCount, spv::Op opcode) {
60 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16);
61}
62
63void spvOpcodeSplit(const uint32_t word, uint16_t* pWordCount,
64 uint16_t* pOpcode) {

Callers 8

spvTextEncodeOpcodeFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
MakeInstructionFunction · 0.85

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68