blob: e5e3b7f4f187e4b823c8f190c03f0d595fa70327 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 22
; Schema: 0
OpCapability Shader
OpCapability InputAttachment
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %f "f" %f_loc0_Output
OpExecutionMode %f OriginUpperLeft
OpName %f_Input "f_Input"
OpName %f_loc0_Output "f_loc0_Output"
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
OpDecorate %f_loc0_Output Location 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
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%f_loc0_Output = OpVariable %_ptr_Output_v4float Output
%10 = OpTypeFunction %v4float %v4float
%void = OpTypeVoid
%14 = OpTypeFunction %void
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%18 = OpConstantNull %v2int
%f_inner = OpFunction %v4float None %10
%fbf = OpFunctionParameter %v4float
%11 = OpLabel
OpReturnValue %fbf
OpFunctionEnd
%f = OpFunction %void None %14
%15 = OpLabel
%16 = OpLoad %3 %f_Input None
%17 = OpImageRead %v4float %16 %18
%21 = OpFunctionCall %v4float %f_inner %17
OpStore %f_loc0_Output %21 None
OpReturn
OpFunctionEnd