MCPcopy Create free account
hub / github.com/crownengine/crown / spvOpcodeMake

Function spvOpcodeMake

3rdparty/bgfx/3rdparty/spirv-tools/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 2

spvTextEncodeOpcodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected