blob: 56a3c448cba140384f90b1a833f78d5045e56248 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 50
; Schema: 0
OpCapability Shader
OpCapability SampleRateShading
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %x_1_param_6 %x_1_param_1_1 %x_1_param_2_1 %x_1_param_3_1 %x_1_param_4_1 %x_1_param_5_1
OpExecutionMode %main OriginUpperLeft
OpName %x_1_param_6 "x_1_param_6"
OpName %x_1_param_1_1 "x_1_param_1_1"
OpName %x_1_param_2_1 "x_1_param_2_1"
OpName %x_1_param_3_1 "x_1_param_3_1"
OpName %x_1_param_4_1 "x_1_param_4_1"
OpName %x_1_param_5_1 "x_1_param_5_1"
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 %main_1 "main_1"
OpName %main_inner "main_inner"
OpName %x_1_param "x_1_param"
OpName %x_1_param_1 "x_1_param_1"
OpName %x_1_param_2 "x_1_param_2"
OpName %x_1_param_3 "x_1_param_3"
OpName %x_1_param_4 "x_1_param_4"
OpName %x_1_param_5 "x_1_param_5"
OpName %main "main"
OpDecorate %x_1_param_6 Location 1
OpDecorate %x_1_param_1_1 Location 2
OpDecorate %x_1_param_1_1 Centroid
OpDecorate %x_1_param_2_1 Location 3
OpDecorate %x_1_param_2_1 Sample
OpDecorate %x_1_param_3_1 Location 4
OpDecorate %x_1_param_3_1 NoPerspective
OpDecorate %x_1_param_4_1 Location 5
OpDecorate %x_1_param_4_1 NoPerspective
OpDecorate %x_1_param_4_1 Centroid
OpDecorate %x_1_param_5_1 Location 6
OpDecorate %x_1_param_5_1 NoPerspective
OpDecorate %x_1_param_5_1 Sample
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
%float = OpTypeFloat 32
%_ptr_Input_float = OpTypePointer Input %float
%x_1_param_6 = OpVariable %_ptr_Input_float Input
%x_1_param_1_1 = OpVariable %_ptr_Input_float Input
%x_1_param_2_1 = OpVariable %_ptr_Input_float Input
%x_1_param_3_1 = OpVariable %_ptr_Input_float Input
%x_1_param_4_1 = OpVariable %_ptr_Input_float Input
%x_1_param_5_1 = OpVariable %_ptr_Input_float Input
%S = OpTypeStruct %float %float %float %float %float %float
%_ptr_Private_S = OpTypePointer Private %S
%12 = OpConstantNull %S
%x_1 = OpVariable %_ptr_Private_S Private %12
%void = OpTypeVoid
%13 = OpTypeFunction %void
%17 = OpTypeFunction %void %float %float %float %float %float %float
%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 %13
%16 = OpLabel
OpReturn
OpFunctionEnd
%main_inner = OpFunction %void None %17
%x_1_param = OpFunctionParameter %float
%x_1_param_1 = OpFunctionParameter %float
%x_1_param_2 = OpFunctionParameter %float
%x_1_param_3 = OpFunctionParameter %float
%x_1_param_4 = OpFunctionParameter %float
%x_1_param_5 = OpFunctionParameter %float
%25 = OpLabel
%29 = OpAccessChain %_ptr_Private_float %x_1 %uint_0
OpStore %29 %x_1_param
%31 = OpAccessChain %_ptr_Private_float %x_1 %uint_1
OpStore %31 %x_1_param_1
%33 = OpAccessChain %_ptr_Private_float %x_1 %uint_2
OpStore %33 %x_1_param_2
%35 = OpAccessChain %_ptr_Private_float %x_1 %uint_3
OpStore %35 %x_1_param_3
%37 = OpAccessChain %_ptr_Private_float %x_1 %uint_4
OpStore %37 %x_1_param_4
%39 = OpAccessChain %_ptr_Private_float %x_1 %uint_5
OpStore %39 %x_1_param_5
%40 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd
%main = OpFunction %void None %13
%42 = OpLabel
%44 = OpLoad %float %x_1_param_6
%45 = OpLoad %float %x_1_param_1_1
%46 = OpLoad %float %x_1_param_2_1
%47 = OpLoad %float %x_1_param_3_1
%48 = OpLoad %float %x_1_param_4_1
%49 = OpLoad %float %x_1_param_5_1
%43 = OpFunctionCall %void %main_inner %44 %45 %46 %47 %48 %49
OpReturn
OpFunctionEnd