Debian Codegraph @

third_party/spirv-cross/shaders-msl/asm/vert/packing-test.asm.vert

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Khronos Glslang Reference Front End; 3
4 ; Bound: 18
5 ; Schema: 0
6 OpCapability Shader
7 %1 = OpExtInstImport "GLSL.std.450"
8 OpMemoryModel Logical GLSL450
9 OpEntryPoint Vertex %main "main"
10 OpSource HLSL 500
11 OpName %main "main"
12 OpName %TestStruct "TestStruct"
13 OpMemberName %TestStruct 0 "transforms"
14 OpName %CB0 "CB0"
15 OpMemberName %CB0 0 "CB0"
16 OpName %_ ""
17 OpDecorate %_arr_mat4v4float_uint_6 ArrayStride 64
18 OpMemberDecorate %TestStruct 0 RowMajor
19 OpMemberDecorate %TestStruct 0 Offset 0
20 OpMemberDecorate %TestStruct 0 MatrixStride 16
21 OpDecorate %_arr_TestStruct_uint_16 ArrayStride 384
22 OpMemberDecorate %CB0 0 Offset 0
23 OpDecorate %CB0 Block
24 OpDecorate %_ DescriptorSet 0
25 OpDecorate %_ Binding 0
26 %void = OpTypeVoid
27 %3 = OpTypeFunction %void
28 %float = OpTypeFloat 32
29 %v4float = OpTypeVector %float 4
30 %mat4v4float = OpTypeMatrix %v4float 4
31 %uint = OpTypeInt 32 0
32 %uint_6 = OpConstant %uint 6
33 %_arr_mat4v4float_uint_6 = OpTypeArray %mat4v4float %uint_6
34 %TestStruct = OpTypeStruct %_arr_mat4v4float_uint_6
35 %uint_16 = OpConstant %uint 16
36 %_arr_TestStruct_uint_16 = OpTypeArray %TestStruct %uint_16
37 %CB0 = OpTypeStruct %_arr_TestStruct_uint_16
38 %_ptr_Uniform_CB0 = OpTypePointer Uniform %CB0
39 %_ = OpVariable %_ptr_Uniform_CB0 Uniform
40 %main = OpFunction %void None %3
41 %5 = OpLabel
42 OpReturn
43 OpFunctionEnd