blob: 973dbf752e18bbd5c22b7c63f361a2dfc544cd02 [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 1 0 0 1 Unknown
%_ptr_UniformConstant_6 = OpTypePointer UniformConstant %6
%x_20 = OpVariable %_ptr_UniformConstant_6 UniformConstant
%void = OpTypeVoid
%8 = OpTypeFunction %void
%15 = OpTypeSampledImage %6
%v2float = OpTypeVector %float 2
%float_0 = OpConstant %float 0
%19 = OpConstantComposite %v2float %float_0 %float_0
%float_0_200000003 = OpConstant %float 0.200000003
%main_1 = OpFunction %void None %8
%11 = OpLabel
%13 = OpLoad %3 %x_10
%14 = OpLoad %6 %x_20
%16 = OpSampledImage %15 %14 %13
%12 = OpImageSampleDrefImplicitLod %float %16 %19 %float_0_200000003
OpReturn
OpFunctionEnd
%main = OpFunction %void None %8
%22 = OpLabel
%23 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd