Ben Clayton | bb3d963 | 2021-05-17 22:26:57 +0000 | [diff] [blame] | 1 | ; SPIR-V |
| 2 | ; Version: 1.3 |
| 3 | ; Generator: Google Tint Compiler; 0 |
David Neto | 1e19b55 | 2021-06-17 09:10:04 +0000 | [diff] [blame] | 4 | ; Bound: 28 |
Ben Clayton | bb3d963 | 2021-05-17 22:26:57 +0000 | [diff] [blame] | 5 | ; Schema: 0 |
| 6 | OpCapability Shader |
| 7 | OpMemoryModel Logical GLSL450 |
| 8 | OpEntryPoint GLCompute %main "main" |
| 9 | OpExecutionMode %main LocalSize 1 1 1 |
David Neto | 1e19b55 | 2021-06-17 09:10:04 +0000 | [diff] [blame] | 10 | OpName %main_1 "main_1" |
Ben Clayton | bb3d963 | 2021-05-17 22:26:57 +0000 | [diff] [blame] | 11 | OpName %main "main" |
| 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 | %uint = OpTypeInt 32 0 |
| 31 | %uint_1 = OpConstant %uint 1 |
David Neto | 1e19b55 | 2021-06-17 09:10:04 +0000 | [diff] [blame] | 32 | %main_1 = OpFunction %void None %1 |
Ben Clayton | bb3d963 | 2021-05-17 22:26:57 +0000 | [diff] [blame] | 33 | %4 = OpLabel |
| 34 | %23 = OpCompositeExtract %v3float %20 1 |
| 35 | %24 = OpCompositeExtract %float %23 1 |
| 36 | OpReturn |
| 37 | OpFunctionEnd |
David Neto | 1e19b55 | 2021-06-17 09:10:04 +0000 | [diff] [blame] | 38 | %main = OpFunction %void None %1 |
| 39 | %26 = OpLabel |
| 40 | %27 = OpFunctionCall %void %main_1 |
| 41 | OpReturn |
| 42 | OpFunctionEnd |