| warning: use of deprecated intrinsic |
| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 17 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Image1D |
| OpCapability StorageImageExtendedFormats |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" |
| OpExecutionMode %main OriginUpperLeft |
| OpName %x_20 "x_20" |
| OpName %main_1 "main_1" |
| OpName %main "main" |
| OpDecorate %x_20 NonWritable |
| OpDecorate %x_20 DescriptorSet 0 |
| OpDecorate %x_20 Binding 0 |
| %float = OpTypeFloat 32 |
| %3 = OpTypeImage %float 1D 0 0 0 2 Rg32f |
| %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 |
| %x_20 = OpVariable %_ptr_UniformConstant_3 UniformConstant |
| %void = OpTypeVoid |
| %5 = OpTypeFunction %void |
| %v4float = OpTypeVector %float 4 |
| %int = OpTypeInt 32 1 |
| %int_1 = OpConstant %int 1 |
| %main_1 = OpFunction %void None %5 |
| %8 = OpLabel |
| %11 = OpLoad %3 %x_20 |
| %9 = OpImageRead %v4float %11 %int_1 |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %5 |
| %15 = OpLabel |
| %16 = OpFunctionCall %void %main_1 |
| OpReturn |
| OpFunctionEnd |