blob: d6f39905bff82c9e21476ffb27eddc984ce9555b [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 54
; Schema: 0
OpCapability Shader
OpCapability SampleRateShading
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %tint_symbol_1 %tint_symbol_2 %tint_symbol_3 %tint_symbol_4 %tint_symbol_5 %tint_symbol_6
OpExecutionMode %main OriginUpperLeft
OpName %S "S"
OpMemberName %S 0 "field0"
OpMemberName %S 1 "field1"
OpMemberName %S 2 "field2"
OpMemberName %S 3 "field3"
OpMemberName %S 4 "field4"
OpMemberName %S 5 "field5"
OpName %x_1 "x_1"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %tint_symbol_2 "tint_symbol_2"
OpName %tint_symbol_3 "tint_symbol_3"
OpName %tint_symbol_4 "tint_symbol_4"
OpName %tint_symbol_5 "tint_symbol_5"
OpName %tint_symbol_6 "tint_symbol_6"
OpName %main_1 "main_1"
OpName %main_out "main_out"
OpMemberName %main_out 0 "x_1_1"
OpMemberName %main_out 1 "x_1_2"
OpMemberName %main_out 2 "x_1_3"
OpMemberName %main_out 3 "x_1_4"
OpMemberName %main_out 4 "x_1_5"
OpMemberName %main_out 5 "x_1_6"
OpName %tint_symbol_7 "tint_symbol_7"
OpName %tint_symbol "tint_symbol"
OpName %main "main"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S 1 Offset 4
OpMemberDecorate %S 2 Offset 8
OpMemberDecorate %S 3 Offset 12
OpMemberDecorate %S 4 Offset 16
OpMemberDecorate %S 5 Offset 20
OpDecorate %tint_symbol_1 Location 1
OpDecorate %tint_symbol_2 Location 2
OpDecorate %tint_symbol_2 Centroid
OpDecorate %tint_symbol_3 Location 3
OpDecorate %tint_symbol_3 Sample
OpDecorate %tint_symbol_4 Location 4
OpDecorate %tint_symbol_4 NoPerspective
OpDecorate %tint_symbol_5 Location 5
OpDecorate %tint_symbol_5 NoPerspective
OpDecorate %tint_symbol_5 Centroid
OpDecorate %tint_symbol_6 Location 6
OpDecorate %tint_symbol_6 NoPerspective
OpDecorate %tint_symbol_6 Sample
OpMemberDecorate %main_out 0 Offset 0
OpMemberDecorate %main_out 1 Offset 4
OpMemberDecorate %main_out 2 Offset 8
OpMemberDecorate %main_out 3 Offset 12
OpMemberDecorate %main_out 4 Offset 16
OpMemberDecorate %main_out 5 Offset 20
%float = OpTypeFloat 32
%S = OpTypeStruct %float %float %float %float %float %float
%_ptr_Private_S = OpTypePointer Private %S
%5 = OpConstantNull %S
%x_1 = OpVariable %_ptr_Private_S Private %5
%_ptr_Output_float = OpTypePointer Output %float
%8 = OpConstantNull %float
%tint_symbol_1 = OpVariable %_ptr_Output_float Output %8
%tint_symbol_2 = OpVariable %_ptr_Output_float Output %8
%tint_symbol_3 = OpVariable %_ptr_Output_float Output %8
%tint_symbol_4 = OpVariable %_ptr_Output_float Output %8
%tint_symbol_5 = OpVariable %_ptr_Output_float Output %8
%tint_symbol_6 = OpVariable %_ptr_Output_float Output %8
%void = OpTypeVoid
%14 = OpTypeFunction %void
%main_out = OpTypeStruct %float %float %float %float %float %float
%18 = OpTypeFunction %void %main_out
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_Private_float = OpTypePointer Private %float
%uint_1 = OpConstant %uint 1
%uint_2 = OpConstant %uint 2
%uint_3 = OpConstant %uint 3
%uint_4 = OpConstant %uint 4
%uint_5 = OpConstant %uint 5
%main_1 = OpFunction %void None %14
%17 = OpLabel
OpReturn
OpFunctionEnd
%tint_symbol_7 = OpFunction %void None %18
%tint_symbol = OpFunctionParameter %main_out
%22 = OpLabel
%23 = OpCompositeExtract %float %tint_symbol 0
OpStore %tint_symbol_1 %23
%24 = OpCompositeExtract %float %tint_symbol 1
OpStore %tint_symbol_2 %24
%25 = OpCompositeExtract %float %tint_symbol 2
OpStore %tint_symbol_3 %25
%26 = OpCompositeExtract %float %tint_symbol 3
OpStore %tint_symbol_4 %26
%27 = OpCompositeExtract %float %tint_symbol 4
OpStore %tint_symbol_5 %27
%28 = OpCompositeExtract %float %tint_symbol 5
OpStore %tint_symbol_6 %28
OpReturn
OpFunctionEnd
%main = OpFunction %void None %14
%30 = OpLabel
%31 = OpFunctionCall %void %main_1
%36 = OpAccessChain %_ptr_Private_float %x_1 %uint_0
%37 = OpLoad %float %36
%39 = OpAccessChain %_ptr_Private_float %x_1 %uint_1
%40 = OpLoad %float %39
%42 = OpAccessChain %_ptr_Private_float %x_1 %uint_2
%43 = OpLoad %float %42
%45 = OpAccessChain %_ptr_Private_float %x_1 %uint_3
%46 = OpLoad %float %45
%48 = OpAccessChain %_ptr_Private_float %x_1 %uint_4
%49 = OpLoad %float %48
%51 = OpAccessChain %_ptr_Private_float %x_1 %uint_5
%52 = OpLoad %float %51
%53 = OpCompositeConstruct %main_out %37 %40 %43 %46 %49 %52
%32 = OpFunctionCall %void %tint_symbol_7 %53
OpReturn
OpFunctionEnd