MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Opcode

Function Opcode

layers/error_message/spirv_logging.cpp:40–40  ·  view source on GitHub ↗

first 5 words of module are the headers

Source from the content-addressed store, hash-verified

38
39static const int kModuleStartingOffset = 5; // first 5 words of module are the headers
40static inline uint32_t Opcode(uint32_t instruction) { return instruction & 0x0ffffu; }
41static inline uint32_t Length(uint32_t instruction) { return instruction >> 16; }
42
43struct SpirvLoggingInfo {

Callers 15

SetResultTypeIndexMethod · 0.85
UpdateDebugInfoMethod · 0.85
DescribeMethod · 0.85
GetConstantValueMethod · 0.85
GetBitWidthMethod · 0.85
GetFPEncodingMethod · 0.85
GetBuiltInMethod · 0.85
IsArrayMethod · 0.85
IsVectorMethod · 0.85
IsNonPtrAccessChainMethod · 0.85
IsAccessChainMethod · 0.85
IsUntypedAccessChainMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected