blob: f29e412cafe6a73f2e91db2ab45d123b57c9bb80 [file] [log] [blame]
Ben Clayton9b54a2e2021-05-18 10:28:48 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 31
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %main "main"
9 OpExecutionMode %main LocalSize 1 1 1
10 OpName %main "main"
11 OpName %m "m"
12 %void = OpTypeVoid
13 %1 = OpTypeFunction %void
14 %float = OpTypeFloat 32
15 %v3float = OpTypeVector %float 3
16%mat3v3float = OpTypeMatrix %v3float 3
17 %float_1 = OpConstant %float 1
18 %float_2 = OpConstant %float 2
19 %float_3 = OpConstant %float 3
20 %11 = OpConstantComposite %v3float %float_1 %float_2 %float_3
21 %float_4 = OpConstant %float 4
22 %float_5 = OpConstant %float 5
23 %float_6 = OpConstant %float 6
24 %15 = OpConstantComposite %v3float %float_4 %float_5 %float_6
25 %float_7 = OpConstant %float 7
26 %float_8 = OpConstant %float 8
27 %float_9 = OpConstant %float 9
28 %19 = OpConstantComposite %v3float %float_7 %float_8 %float_9
29 %20 = OpConstantComposite %mat3v3float %11 %15 %19
30%_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float
31 %23 = OpConstantNull %mat3v3float
32 %int = OpTypeInt 32 1
33 %int_1 = OpConstant %int 1
34%_ptr_Function_v3float = OpTypePointer Function %v3float
35 %30 = OpConstantComposite %v3float %float_5 %float_5 %float_5
36 %main = OpFunction %void None %1
37 %4 = OpLabel
38 %m = OpVariable %_ptr_Function_mat3v3float Function %23
39 OpStore %m %20
40 %28 = OpAccessChain %_ptr_Function_v3float %m %int_1
41 OpStore %28 %30
42 OpReturn
43 OpFunctionEnd