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

Function Length

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

Source from the content-addressed store, hash-verified

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 {
44 uint32_t file_string_id = 0; // OpString with filename

Callers 15

UpdateDebugInfoMethod · 0.85
DescribeMethod · 0.85
GetFPEncodingMethod · 0.85
AppendWordMethod · 0.85
ReplaceOperandIdMethod · 0.85
ReplaceLinkedIdMethod · 0.85
GetCalledFunctionIdMethod · 0.85
GetAsStringMethod · 0.85
ReadOpSourceFunction · 0.85
ReadDebugSourceFunction · 0.85
GetOpStringFunction · 0.85
GetConstantValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected