blob: d5f0ac797a72adc60dadb8960ac40c7299de620b [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 39
; Schema: 0
OpCapability Shader
OpCapability InputAttachment
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %f "f" %f_position_Input %f_loc0_Input
OpExecutionMode %f OriginUpperLeft
OpName %f_position_Input "f_position_Input"
OpName %f_Input "f_Input"
OpName %f_loc0_Input "f_loc0_Input"
OpName %g "g"
OpName %a "a"
OpName %b "b"
OpName %c "c"
OpName %f_inner "f_inner"
OpName %pos "pos"
OpName %fbf "fbf"
OpMemberName %In 0 "uv"
OpName %In "In"
OpName %in "in"
OpName %f "f"
OpDecorate %f_position_Input BuiltIn FragCoord
OpDecorate %f_Input DescriptorSet 66
OpDecorate %f_Input Binding 0
OpDecorate %f_Input InputAttachmentIndex 0
OpDecorate %f_loc0_Input Location 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Input_v4float = OpTypePointer Input %v4float
%f_position_Input = OpVariable %_ptr_Input_v4float Input
%7 = OpTypeImage %float SubpassData 0 0 0 2 Unknown
%_ptr_UniformConstant_7 = OpTypePointer UniformConstant %7
%f_Input = OpVariable %_ptr_UniformConstant_7 UniformConstant
%f_loc0_Input = OpVariable %_ptr_Input_v4float Input
%void = OpTypeVoid
%14 = OpTypeFunction %void %float %float %float
%In = OpTypeStruct %v4float
%21 = OpTypeFunction %void %v4float %v4float %In
%28 = OpTypeFunction %void
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%33 = OpConstantNull %v2int
%g = OpFunction %void None %14
%a = OpFunctionParameter %float
%b = OpFunctionParameter %float
%c = OpFunctionParameter %float
%15 = OpLabel
OpReturn
OpFunctionEnd
%f_inner = OpFunction %void None %21
%pos = OpFunctionParameter %v4float
%fbf = OpFunctionParameter %v4float
%in = OpFunctionParameter %In
%22 = OpLabel
%23 = OpCompositeExtract %float %pos 0
%24 = OpCompositeExtract %float %fbf 0
%25 = OpCompositeExtract %float %in 0 0
%26 = OpFunctionCall %void %g %23 %24 %25
OpReturn
OpFunctionEnd
%f = OpFunction %void None %28
%29 = OpLabel
%30 = OpLoad %v4float %f_position_Input None
%31 = OpLoad %7 %f_Input None
%32 = OpImageRead %v4float %31 %33
%36 = OpLoad %v4float %f_loc0_Input None
%37 = OpCompositeConstruct %In %36
%38 = OpFunctionCall %void %f_inner %30 %32 %37
OpReturn
OpFunctionEnd