Ben Clayton | b85099a | 2021-07-17 17:38:46 +0000 | [diff] [blame] | 1 | ; SPIR-V |
| 2 | ; Version: 1.3 |
| 3 | ; Generator: Google Tint Compiler; 0 |
| 4 | ; Bound: 17 |
| 5 | ; Schema: 0 |
| 6 | OpCapability Shader |
| 7 | OpMemoryModel Logical GLSL450 |
| 8 | OpEntryPoint GLCompute %f "f" |
| 9 | OpExecutionMode %f LocalSize 1 1 1 |
| 10 | OpName %f "f" |
| 11 | %void = OpTypeVoid |
| 12 | %1 = OpTypeFunction %void |
| 13 | %float = OpTypeFloat 32 |
| 14 | %float_4 = OpConstant %float 4 |
| 15 | %v3float = OpTypeVector %float 3 |
| 16 | %float_1 = OpConstant %float 1 |
| 17 | %float_2 = OpConstant %float 2 |
| 18 | %float_3 = OpConstant %float 3 |
| 19 | %11 = OpConstantComposite %v3float %float_1 %float_2 %float_3 |
| 20 | %_ptr_Function_v3float = OpTypePointer Function %v3float |
| 21 | %15 = OpConstantNull %v3float |
| 22 | %f = OpFunction %void None %1 |
| 23 | %4 = OpLabel |
| 24 | %13 = OpVariable %_ptr_Function_v3float Function %15 |
| 25 | %16 = OpCompositeConstruct %v3float %float_4 %float_4 %float_4 |
| 26 | %12 = OpFAdd %v3float %16 %11 |
| 27 | OpReturn |
| 28 | OpFunctionEnd |