| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 18 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Sampled1D |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %arg_0 "arg_0" |
| OpName %d "d" |
| OpName %l "l" |
| OpName %unused_entry_point "unused_entry_point" |
| OpDecorate %arg_0 DescriptorSet 0 |
| OpDecorate %arg_0 Binding 0 |
| %int = OpTypeInt 32 1 |
| %3 = OpTypeImage %int 1D 0 0 0 1 Unknown |
| %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 |
| %arg_0 = OpVariable %_ptr_UniformConstant_3 UniformConstant |
| %void = OpTypeVoid |
| %7 = OpTypeFunction %void |
| %v4int = OpTypeVector %int 4 |
| %int_1 = OpConstant %int 1 |
| %int_0 = OpConstant %int 0 |
| %float = OpTypeFloat 32 |
| %l = OpConstant %float 0.141120002 |
| %d = OpFunction %void None %7 |
| %8 = OpLabel |
| %9 = OpLoad %3 %arg_0 None |
| %10 = OpImageFetch %v4int %9 %int_1 Lod %int_0 |
| OpReturn |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %7 |
| %17 = OpLabel |
| OpReturn |
| OpFunctionEnd |