blob: 6993d85f52eb6415fc7273eb9b2ac067e5d305f2 [file] [log] [blame]
dan sinclair1b77b6c2024-08-06 15:47:05 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 1
4; Bound: 18
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %f "f"
9 OpExecutionMode %f LocalSize 1 1 1
10 OpMemberName %SSBO 0 "m"
11 OpName %SSBO "SSBO"
12 OpMemberName %tint_symbol_1 0 "tint_symbol"
13 OpName %tint_symbol_1 "tint_symbol_1"
14 OpName %f "f"
15 OpName %v "v"
16 OpMemberDecorate %SSBO 0 Offset 0
17 OpMemberDecorate %SSBO 0 ColMajor
18 OpMemberDecorate %SSBO 0 MatrixStride 8
19 OpMemberDecorate %tint_symbol_1 0 Offset 0
20 OpDecorate %tint_symbol_1 Block
21 OpDecorate %1 DescriptorSet 0
22 OpDecorate %1 Binding 0
dan sinclaird117d652024-08-21 01:20:00 +000023 OpDecorate %1 Coherent
dan sinclair1b77b6c2024-08-06 15:47:05 +000024 %float = OpTypeFloat 32
25 %v2float = OpTypeVector %float 2
26%mat2v2float = OpTypeMatrix %v2float 2
27 %SSBO = OpTypeStruct %mat2v2float
28%tint_symbol_1 = OpTypeStruct %SSBO
29%_ptr_StorageBuffer_tint_symbol_1 = OpTypePointer StorageBuffer %tint_symbol_1
30 %1 = OpVariable %_ptr_StorageBuffer_tint_symbol_1 StorageBuffer
31 %void = OpTypeVoid
32 %10 = OpTypeFunction %void
33%_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float
34 %uint = OpTypeInt 32 0
35 %uint_0 = OpConstant %uint 0
36 %f = OpFunction %void None %10
37 %11 = OpLabel
38 %12 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %1 %uint_0 %uint_0
dan sinclair50260412024-08-28 19:43:27 +000039 %v = OpLoad %mat2v2float %12 None
dan sinclair1b77b6c2024-08-06 15:47:05 +000040 %17 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %1 %uint_0 %uint_0
dan sinclair50260412024-08-28 19:43:27 +000041 OpStore %17 %v None
dan sinclair1b77b6c2024-08-06 15:47:05 +000042 OpReturn
43 OpFunctionEnd