Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
59
uint32_t spvOpcodeMake(uint16_t wordCount, spv::Op opcode) {
60
return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16);
61
}
62
63
void spvOpcodeSplit(const uint32_t word, uint16_t* pWordCount,
64
uint16_t* pOpcode) {
Callers
8
encodeInstructionStartingWithOpUnknown
Function · 0.85
spvTextEncodeOpcode
Function · 0.85
TEST_F
Function · 0.85
TEST_F
Function · 0.85
TEST
Function · 0.85
binary_parse_test.cpp
File · 0.85
TEST
Function · 0.85
MakeInstruction
Function · 0.85
Calls
no outgoing calls
Tested by
4
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST
Function · 0.68
TEST
Function · 0.68