blob: deb1f113446526f1398bfebd1e03e4ed7fdfb502 [file]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 25
; Schema: 0
OpCapability Shader
OpCapability InputAttachment
OpCapability Float16
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
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
OpDecorate %18 RelaxedPrecision
OpDecorate %f_Input RelaxedPrecision
%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
%half = OpTypeFloat 16
%v4half = OpTypeVector %half 4
%_ptr_Output_v4half = OpTypePointer Output %v4half
%f_loc0_Output = OpVariable %_ptr_Output_v4half Output
%11 = OpTypeFunction %v4half %v4half
%void = OpTypeVoid
%15 = OpTypeFunction %void
%v4float = OpTypeVector %float 4
%int = OpTypeInt 32 1
%v2int = OpTypeVector %int 2
%20 = OpConstantNull %v2int
%f_inner = OpFunction %v4half None %11
%fbf = OpFunctionParameter %v4half
%12 = OpLabel
OpReturnValue %fbf
OpFunctionEnd
%f = OpFunction %void None %15
%16 = OpLabel
%17 = OpLoad %3 %f_Input None
%18 = OpImageRead %v4float %17 %20
%23 = OpFConvert %v4half %18
%24 = OpFunctionCall %v4half %f_inner %23
OpStore %f_loc0_Output %24 None
OpReturn
OpFunctionEnd