blob: e1bce557dc7c9b97b6a9399cdde2774de6d41557 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 24
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %x_10 "x_10"
OpName %x_20 "x_20"
OpName %main_1 "main_1"
OpName %main "main"
OpDecorate %x_10 DescriptorSet 0
OpDecorate %x_10 Binding 0
OpDecorate %x_20 DescriptorSet 0
OpDecorate %x_20 Binding 1
%3 = OpTypeSampler
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%x_10 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%float = OpTypeFloat 32
%6 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_6 = OpTypePointer UniformConstant %6
%x_20 = OpVariable %_ptr_UniformConstant_6 UniformConstant
%void = OpTypeVoid
%8 = OpTypeFunction %void
%v4float = OpTypeVector %float 4
%16 = OpTypeSampledImage %6
%v2float = OpTypeVector %float 2
%float_0 = OpConstant %float 0
%20 = OpConstantComposite %v2float %float_0 %float_0
%main_1 = OpFunction %void None %8
%11 = OpLabel
%14 = OpLoad %3 %x_10
%15 = OpLoad %6 %x_20
%17 = OpSampledImage %16 %15 %14
%12 = OpImageSampleImplicitLod %v4float %17 %20
OpReturn
OpFunctionEnd
%main = OpFunction %void None %8
%22 = OpLabel
%23 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd