| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 41 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Vertex %vert_main "vert_main" %tint_pointsize %tint_symbol_1 %tint_symbol_2 %tint_symbol_3 |
| OpEntryPoint Fragment %frag_main "frag_main" %tint_symbol_5 %tint_symbol_6 %tint_symbol_7 |
| OpExecutionMode %frag_main OriginUpperLeft |
| OpName %tint_pointsize "tint_pointsize" |
| OpName %tint_symbol_1 "tint_symbol_1" |
| OpName %tint_symbol_2 "tint_symbol_2" |
| OpName %tint_symbol_3 "tint_symbol_3" |
| OpName %tint_symbol_5 "tint_symbol_5" |
| OpName %tint_symbol_6 "tint_symbol_6" |
| OpName %tint_symbol_7 "tint_symbol_7" |
| OpName %Interface "Interface" |
| OpMemberName %Interface 0 "col1" |
| OpMemberName %Interface 1 "col2" |
| OpMemberName %Interface 2 "pos" |
| OpName %tint_symbol_4 "tint_symbol_4" |
| OpName %tint_symbol "tint_symbol" |
| OpName %vert_main "vert_main" |
| OpName %frag_main "frag_main" |
| OpDecorate %tint_pointsize BuiltIn PointSize |
| OpDecorate %tint_symbol_1 Location 1 |
| OpDecorate %tint_symbol_2 Location 2 |
| OpDecorate %tint_symbol_3 BuiltIn Position |
| OpDecorate %tint_symbol_5 Location 1 |
| OpDecorate %tint_symbol_6 Location 2 |
| OpDecorate %tint_symbol_7 BuiltIn FragCoord |
| OpMemberDecorate %Interface 0 Offset 0 |
| OpMemberDecorate %Interface 1 Offset 4 |
| OpMemberDecorate %Interface 2 Offset 16 |
| %float = OpTypeFloat 32 |
| %_ptr_Output_float = OpTypePointer Output %float |
| %4 = OpConstantNull %float |
| %tint_pointsize = OpVariable %_ptr_Output_float Output %4 |
| %tint_symbol_1 = OpVariable %_ptr_Output_float Output %4 |
| %tint_symbol_2 = OpVariable %_ptr_Output_float Output %4 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %10 = OpConstantNull %v4float |
| %tint_symbol_3 = OpVariable %_ptr_Output_v4float Output %10 |
| %_ptr_Input_float = OpTypePointer Input %float |
| %tint_symbol_5 = OpVariable %_ptr_Input_float Input |
| %tint_symbol_6 = OpVariable %_ptr_Input_float Input |
| %_ptr_Input_v4float = OpTypePointer Input %v4float |
| %tint_symbol_7 = OpVariable %_ptr_Input_v4float Input |
| %void = OpTypeVoid |
| %Interface = OpTypeStruct %float %float %v4float |
| %16 = OpTypeFunction %void %Interface |
| %25 = OpTypeFunction %void |
| %float_1 = OpConstant %float 1 |
| %float_0_400000006 = OpConstant %float 0.400000006 |
| %float_0_600000024 = OpConstant %float 0.600000024 |
| %32 = OpConstantComposite %Interface %float_0_400000006 %float_0_600000024 %10 |
| %tint_symbol_4 = OpFunction %void None %16 |
| %tint_symbol = OpFunctionParameter %Interface |
| %21 = OpLabel |
| %22 = OpCompositeExtract %float %tint_symbol 0 |
| OpStore %tint_symbol_1 %22 |
| %23 = OpCompositeExtract %float %tint_symbol 1 |
| OpStore %tint_symbol_2 %23 |
| %24 = OpCompositeExtract %v4float %tint_symbol 2 |
| OpStore %tint_symbol_3 %24 |
| OpReturn |
| OpFunctionEnd |
| %vert_main = OpFunction %void None %25 |
| %27 = OpLabel |
| OpStore %tint_pointsize %float_1 |
| %29 = OpFunctionCall %void %tint_symbol_4 %32 |
| OpReturn |
| OpFunctionEnd |
| %frag_main = OpFunction %void None %25 |
| %34 = OpLabel |
| %35 = OpLoad %float %tint_symbol_5 |
| %36 = OpLoad %float %tint_symbol_6 |
| %37 = OpLoad %v4float %tint_symbol_7 |
| %38 = OpCompositeConstruct %Interface %35 %36 %37 |
| %39 = OpCompositeExtract %float %38 0 |
| %40 = OpCompositeExtract %float %38 1 |
| OpReturn |
| OpFunctionEnd |