blob: 9823b0dbabbb3b733b7669304ef54bd3f550cd50 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 24
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %tint_symbol_1
OpExecutionMode %main OriginUpperLeft
OpExecutionMode %main DepthReplacing
OpName %x_1 "x_1"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %main_1 "main_1"
OpName %main_out "main_out"
OpMemberName %main_out 0 "x_1_1"
OpName %tint_symbol_2 "tint_symbol_2"
OpName %tint_symbol "tint_symbol"
OpName %main "main"
OpDecorate %tint_symbol_1 BuiltIn FragDepth
OpMemberDecorate %main_out 0 Offset 0
%float = OpTypeFloat 32
%float_0 = OpConstant %float 0
%_ptr_Private_float = OpTypePointer Private %float
%x_1 = OpVariable %_ptr_Private_float Private %float_0
%_ptr_Output_float = OpTypePointer Output %float
%7 = OpConstantNull %float
%tint_symbol_1 = OpVariable %_ptr_Output_float Output %7
%void = OpTypeVoid
%8 = OpTypeFunction %void
%main_out = OpTypeStruct %float
%12 = OpTypeFunction %void %main_out
%main_1 = OpFunction %void None %8
%11 = OpLabel
OpReturn
OpFunctionEnd
%tint_symbol_2 = OpFunction %void None %12
%tint_symbol = OpFunctionParameter %main_out
%16 = OpLabel
%17 = OpCompositeExtract %float %tint_symbol 0
OpStore %tint_symbol_1 %17
OpReturn
OpFunctionEnd
%main = OpFunction %void None %8
%19 = OpLabel
%20 = OpFunctionCall %void %main_1
%22 = OpLoad %float %x_1
%23 = OpCompositeConstruct %main_out %22
%21 = OpFunctionCall %void %tint_symbol_2 %23
OpReturn
OpFunctionEnd