blob: b73e73463cef185f0755d3783c19bca23e0efac1 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 26
; Schema: 0
OpCapability Shader
OpCapability InputAttachment
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %f "f"
OpExecutionMode %f OriginUpperLeft
OpName %f_Input "f_Input"
OpName %g "g"
OpName %a "a"
OpName %f_inner "f_inner"
OpName %fbf "fbf"
OpName %f "f"
OpDecorate %f_Input DescriptorSet 66
OpDecorate %f_Input Binding 0
OpDecorate %f_Input InputAttachmentIndex 0
%float = OpTypeFloat 32
%3 = OpTypeImage %float SubpassData 0 0 0 2 Unknown
%_ptr_UniformConstant_3 = OpTypePointer UniformConstant %3
%f_Input = OpVariable %_ptr_UniformConstant_3 UniformConstant
%void = OpTypeVoid
%8 = OpTypeFunction %void %float
%v4float = OpTypeVector %float 4
%13 = OpTypeFunction %void %v4float
%18 = OpTypeFunction %void
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%22 = OpConstantNull %v2int
%g = OpFunction %void None %8
%a = OpFunctionParameter %float
%9 = OpLabel
OpReturn
OpFunctionEnd
%f_inner = OpFunction %void None %13
%fbf = OpFunctionParameter %v4float
%14 = OpLabel
%15 = OpCompositeExtract %float %fbf 1
%16 = OpFunctionCall %void %g %15
OpReturn
OpFunctionEnd
%f = OpFunction %void None %18
%19 = OpLabel
%20 = OpLoad %3 %f_Input None
%21 = OpImageRead %v4float %20 %22
%25 = OpFunctionCall %void %f_inner %21
OpReturn
OpFunctionEnd