| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 38 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" %tint_symbol %tint_symbol_1 %tint_symbol_2 %tint_symbol_3 |
| OpExecutionMode %main OriginUpperLeft |
| OpName %x_1 "x_1" |
| OpName %S "S" |
| OpMemberName %S 0 "field0" |
| OpMemberName %S 1 "field1" |
| OpName %x_2 "x_2" |
| OpName %tint_symbol "tint_symbol" |
| OpName %tint_symbol_1 "tint_symbol_1" |
| OpName %tint_symbol_2 "tint_symbol_2" |
| OpName %tint_symbol_3 "tint_symbol_3" |
| OpName %main_1 "main_1" |
| OpName %main "main" |
| OpDecorate %_arr_float_uint_2 ArrayStride 4 |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 4 |
| OpDecorate %tint_symbol Location 1 |
| OpDecorate %tint_symbol Flat |
| OpDecorate %tint_symbol_1 Location 2 |
| OpDecorate %tint_symbol_1 Flat |
| OpDecorate %tint_symbol_2 Location 5 |
| OpDecorate %tint_symbol_2 Flat |
| OpDecorate %tint_symbol_3 Location 6 |
| OpDecorate %tint_symbol_3 Flat |
| %float = OpTypeFloat 32 |
| %uint = OpTypeInt 32 0 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_float_uint_2 = OpTypeArray %float %uint_2 |
| %_ptr_Private__arr_float_uint_2 = OpTypePointer Private %_arr_float_uint_2 |
| %7 = OpConstantNull %_arr_float_uint_2 |
| %x_1 = OpVariable %_ptr_Private__arr_float_uint_2 Private %7 |
| %S = OpTypeStruct %float %float |
| %_ptr_Private_S = OpTypePointer Private %S |
| %11 = OpConstantNull %S |
| %x_2 = OpVariable %_ptr_Private_S Private %11 |
| %_ptr_Input_float = OpTypePointer Input %float |
| %tint_symbol = OpVariable %_ptr_Input_float Input |
| %tint_symbol_1 = OpVariable %_ptr_Input_float Input |
| %tint_symbol_2 = OpVariable %_ptr_Input_float Input |
| %tint_symbol_3 = OpVariable %_ptr_Input_float Input |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %int = OpTypeInt 32 1 |
| %int_0 = OpConstant %int 0 |
| %_ptr_Private_float = OpTypePointer Private %float |
| %int_1 = OpConstant %int 1 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %main_1 = OpFunction %void None %17 |
| %20 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %17 |
| %22 = OpLabel |
| %26 = OpAccessChain %_ptr_Private_float %x_1 %int_0 |
| %27 = OpLoad %float %tint_symbol |
| OpStore %26 %27 |
| %29 = OpAccessChain %_ptr_Private_float %x_1 %int_1 |
| %30 = OpLoad %float %tint_symbol_1 |
| OpStore %29 %30 |
| %32 = OpAccessChain %_ptr_Private_float %x_2 %uint_0 |
| %33 = OpLoad %float %tint_symbol_2 |
| OpStore %32 %33 |
| %35 = OpAccessChain %_ptr_Private_float %x_2 %uint_1 |
| %36 = OpLoad %float %tint_symbol_3 |
| OpStore %35 %36 |
| %37 = OpFunctionCall %void %main_1 |
| OpReturn |
| OpFunctionEnd |