MCPcopy Create free account
hub / github.com/InoriRus/Kyty / spvOpcodeMake

Function spvOpcodeMake

source/3rdparty/vulkan/source/opcode.cpp:67–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) {
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16);
69}
70
71void spvOpcodeSplit(const uint32_t word, uint16_t* pWordCount,
72 uint16_t* pOpcode) {

Callers 1

spvTextEncodeOpcodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected