blob: d8c95136a4f7869fb4f844d5c8c446d55c1fecb7 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 48
; Schema: 0
OpCapability Shader
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 2
OpDecorate %x_20 Binding 1
%float = OpTypeFloat 32
%3 = OpTypeImage %float 2D 0 0 0 1 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%x_20 = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%5 = OpTypeFunction %void
%float_1 = OpConstant %float 1
%v2float = OpTypeVector %float 2
%float_2 = OpConstant %float 2
%12 = OpConstantComposite %v2float %float_1 %float_2
%v3float = OpTypeVector %float 3
%float_3 = OpConstant %float 3
%15 = OpConstantComposite %v3float %float_1 %float_2 %float_3
%v4float = OpTypeVector %float 4
%float_4 = OpConstant %float 4
%18 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
%int = OpTypeInt 32 1
%int_1 = OpConstant %int 1
%v2int = OpTypeVector %int 2
%int_2 = OpConstant %int 2
%23 = OpConstantComposite %v2int %int_1 %int_2
%v3int = OpTypeVector %int 3
%int_3 = OpConstant %int 3
%26 = OpConstantComposite %v3int %int_1 %int_2 %int_3
%v4int = OpTypeVector %int 4
%int_4 = OpConstant %int 4
%29 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4
%uint = OpTypeInt 32 0
%uint_1 = OpConstant %uint 1
%v2uint = OpTypeVector %uint 2
%uint_2 = OpConstant %uint 2
%34 = OpConstantComposite %v2uint %uint_1 %uint_2
%v3uint = OpTypeVector %uint 3
%uint_3 = OpConstant %uint 3
%37 = OpConstantComposite %v3uint %uint_1 %uint_2 %uint_3
%v4uint = OpTypeVector %uint 4
%uint_4 = OpConstant %uint 4
%40 = OpConstantComposite %v4uint %uint_1 %uint_2 %uint_3 %uint_4
%41 = OpConstantComposite %v2int %int_3 %int_4
%int_0 = OpConstant %int 0
%main_1 = OpFunction %void None %5
%8 = OpLabel
%43 = OpLoad %3 %x_20
%42 = OpImageFetch %v4float %43 %23 Lod %int_0
OpReturn
OpFunctionEnd
%main = OpFunction %void None %5
%46 = OpLabel
%47 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd