dan sinclair | 1b77b6c | 2024-08-06 15:47:05 +0000 | [diff] [blame] | 1 | ; SPIR-V |
| 2 | ; Version: 1.3 |
| 3 | ; Generator: Google Tint Compiler; 1 |
| 4 | ; Bound: 29 |
| 5 | ; Schema: 0 |
| 6 | OpCapability Shader |
| 7 | OpMemoryModel Logical GLSL450 |
| 8 | OpEntryPoint Fragment %fragment_main "fragment_main" |
| 9 | OpEntryPoint GLCompute %compute_main "compute_main" |
| 10 | OpExecutionMode %fragment_main OriginUpperLeft |
| 11 | OpExecutionMode %compute_main LocalSize 1 1 1 |
| 12 | OpName %arg_0 "arg_0" |
| 13 | OpName %textureStore_f6f392 "textureStore_f6f392" |
| 14 | OpName %fragment_main "fragment_main" |
| 15 | OpName %compute_main "compute_main" |
| 16 | OpDecorate %arg_0 DescriptorSet 1 |
| 17 | OpDecorate %arg_0 Binding 0 |
| 18 | %float = OpTypeFloat 32 |
| 19 | %3 = OpTypeImage %float 2D 0 1 0 2 Rgba8 |
| 20 | %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 |
| 21 | %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant |
| 22 | %void = OpTypeVoid |
| 23 | %7 = OpTypeFunction %void |
| 24 | %uint = OpTypeInt 32 0 |
| 25 | %int = OpTypeInt 32 1 |
| 26 | %int_1 = OpConstant %int 1 |
| 27 | %v3uint = OpTypeVector %uint 3 |
| 28 | %v2uint = OpTypeVector %uint 2 |
| 29 | %uint_1 = OpConstant %uint 1 |
| 30 | %16 = OpConstantComposite %v2uint %uint_1 %uint_1 |
| 31 | %v4float = OpTypeVector %float 4 |
| 32 | %float_1 = OpConstant %float 1 |
| 33 | %20 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1 |
| 34 | %textureStore_f6f392 = OpFunction %void None %7 |
| 35 | %8 = OpLabel |
| 36 | %9 = OpLoad %3 %arg_0 |
| 37 | %11 = OpBitcast %uint %int_1 |
| 38 | %15 = OpCompositeConstruct %v3uint %16 %11 |
| 39 | OpImageWrite %9 %15 %20 None |
| 40 | OpReturn |
| 41 | OpFunctionEnd |
| 42 | %fragment_main = OpFunction %void None %7 |
| 43 | %24 = OpLabel |
| 44 | %25 = OpFunctionCall %void %textureStore_f6f392 |
| 45 | OpReturn |
| 46 | OpFunctionEnd |
| 47 | %compute_main = OpFunction %void None %7 |
| 48 | %27 = OpLabel |
| 49 | %28 = OpFunctionCall %void %textureStore_f6f392 |
| 50 | OpReturn |
| 51 | OpFunctionEnd |