| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 17 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability ImageQuery |
| 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 DescriptorSet 0 |
| OpDecorate %x_20 Binding 0 |
| %float = OpTypeFloat 32 |
| %3 = OpTypeImage %float 2D 0 0 1 1 Unknown |
| %_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3 |
| %x_20 = OpVariable %_ptr_UniformConstant_3 UniformConstant |
| %void = OpTypeVoid |
| %5 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %int = OpTypeInt 32 1 |
| %main_1 = OpFunction %void None %5 |
| %8 = OpLabel |
| %13 = OpLoad %3 %x_20 |
| %11 = OpImageQuerySamples %int %13 |
| %9 = OpBitcast %uint %11 |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %5 |
| %15 = OpLabel |
| %16 = OpFunctionCall %void %main_1 |
| OpReturn |
| OpFunctionEnd |