| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 73 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Vertex %main "main" %x_1_param_1 %x_2_param_1 %x_3_param_1 %x_4_param_1 %x_5_param_1 %x_6_param_1 %x_8_1_1 %vertex_point_size |
| OpName %x_1_param_1 "x_1_param_1" |
| OpName %x_2_param_1 "x_2_param_1" |
| OpName %x_3_param_1 "x_3_param_1" |
| OpName %x_4_param_1 "x_4_param_1" |
| OpName %x_5_param_1 "x_5_param_1" |
| OpName %x_6_param_1 "x_6_param_1" |
| OpName %x_8_1_1 "x_8_1_1" |
| OpName %vertex_point_size "vertex_point_size" |
| OpName %x_1 "x_1" |
| OpName %x_2 "x_2" |
| OpName %x_3 "x_3" |
| OpName %x_4 "x_4" |
| OpName %x_5 "x_5" |
| OpName %x_6 "x_6" |
| OpName %x_8 "x_8" |
| OpName %main_1 "main_1" |
| OpName %main_out "main_out" |
| OpMemberName %main_out 0 "x_8_1" |
| OpName %main_inner "main_inner" |
| OpName %x_1_param "x_1_param" |
| OpName %x_2_param "x_2_param" |
| OpName %x_3_param "x_3_param" |
| OpName %x_4_param "x_4_param" |
| OpName %x_5_param "x_5_param" |
| OpName %x_6_param "x_6_param" |
| OpName %main "main" |
| OpDecorate %x_1_param_1 Location 1 |
| OpDecorate %x_2_param_1 Location 2 |
| OpDecorate %x_3_param_1 Location 3 |
| OpDecorate %x_4_param_1 Location 4 |
| OpDecorate %x_5_param_1 Location 5 |
| OpDecorate %x_5_param_1 Flat |
| OpDecorate %x_6_param_1 Location 6 |
| OpDecorate %x_6_param_1 Flat |
| OpDecorate %x_8_1_1 BuiltIn Position |
| OpDecorate %vertex_point_size BuiltIn PointSize |
| OpMemberDecorate %main_out 0 Offset 0 |
| %uint = OpTypeInt 32 0 |
| %_ptr_Input_uint = OpTypePointer Input %uint |
| %x_1_param_1 = OpVariable %_ptr_Input_uint Input |
| %v2uint = OpTypeVector %uint 2 |
| %_ptr_Input_v2uint = OpTypePointer Input %v2uint |
| %x_2_param_1 = OpVariable %_ptr_Input_v2uint Input |
| %int = OpTypeInt 32 1 |
| %_ptr_Input_int = OpTypePointer Input %int |
| %x_3_param_1 = OpVariable %_ptr_Input_int Input |
| %v2int = OpTypeVector %int 2 |
| %_ptr_Input_v2int = OpTypePointer Input %v2int |
| %x_4_param_1 = OpVariable %_ptr_Input_v2int Input |
| %float = OpTypeFloat 32 |
| %_ptr_Input_float = OpTypePointer Input %float |
| %x_5_param_1 = OpVariable %_ptr_Input_float Input |
| %v2float = OpTypeVector %float 2 |
| %_ptr_Input_v2float = OpTypePointer Input %v2float |
| %x_6_param_1 = OpVariable %_ptr_Input_v2float Input |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %22 = OpConstantNull %v4float |
| %x_8_1_1 = OpVariable %_ptr_Output_v4float Output %22 |
| %_ptr_Output_float = OpTypePointer Output %float |
| %25 = OpConstantNull %float |
| %vertex_point_size = OpVariable %_ptr_Output_float Output %25 |
| %_ptr_Private_uint = OpTypePointer Private %uint |
| %28 = OpConstantNull %uint |
| %x_1 = OpVariable %_ptr_Private_uint Private %28 |
| %_ptr_Private_v2uint = OpTypePointer Private %v2uint |
| %31 = OpConstantNull %v2uint |
| %x_2 = OpVariable %_ptr_Private_v2uint Private %31 |
| %_ptr_Private_int = OpTypePointer Private %int |
| %34 = OpConstantNull %int |
| %x_3 = OpVariable %_ptr_Private_int Private %34 |
| %_ptr_Private_v2int = OpTypePointer Private %v2int |
| %37 = OpConstantNull %v2int |
| %x_4 = OpVariable %_ptr_Private_v2int Private %37 |
| %_ptr_Private_float = OpTypePointer Private %float |
| %x_5 = OpVariable %_ptr_Private_float Private %25 |
| %_ptr_Private_v2float = OpTypePointer Private %v2float |
| %42 = OpConstantNull %v2float |
| %x_6 = OpVariable %_ptr_Private_v2float Private %42 |
| %_ptr_Private_v4float = OpTypePointer Private %v4float |
| %x_8 = OpVariable %_ptr_Private_v4float Private %22 |
| %void = OpTypeVoid |
| %45 = OpTypeFunction %void |
| %main_out = OpTypeStruct %v4float |
| %49 = OpTypeFunction %main_out %uint %v2uint %int %v2int %float %v2float |
| %float_1 = OpConstant %float 1 |
| %main_1 = OpFunction %void None %45 |
| %48 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %main_inner = OpFunction %main_out None %49 |
| %x_1_param = OpFunctionParameter %uint |
| %x_2_param = OpFunctionParameter %v2uint |
| %x_3_param = OpFunctionParameter %int |
| %x_4_param = OpFunctionParameter %v2int |
| %x_5_param = OpFunctionParameter %float |
| %x_6_param = OpFunctionParameter %v2float |
| %58 = OpLabel |
| OpStore %x_1 %x_1_param |
| OpStore %x_2 %x_2_param |
| OpStore %x_3 %x_3_param |
| OpStore %x_4 %x_4_param |
| OpStore %x_5 %x_5_param |
| OpStore %x_6 %x_6_param |
| %59 = OpFunctionCall %void %main_1 |
| %60 = OpLoad %v4float %x_8 |
| %61 = OpCompositeConstruct %main_out %60 |
| OpReturnValue %61 |
| OpFunctionEnd |
| %main = OpFunction %void None %45 |
| %63 = OpLabel |
| %65 = OpLoad %uint %x_1_param_1 |
| %66 = OpLoad %v2uint %x_2_param_1 |
| %67 = OpLoad %int %x_3_param_1 |
| %68 = OpLoad %v2int %x_4_param_1 |
| %69 = OpLoad %float %x_5_param_1 |
| %70 = OpLoad %v2float %x_6_param_1 |
| %64 = OpFunctionCall %main_out %main_inner %65 %66 %67 %68 %69 %70 |
| %71 = OpCompositeExtract %v4float %64 0 |
| OpStore %x_8_1_1 %71 |
| OpStore %vertex_point_size %float_1 |
| OpReturn |
| OpFunctionEnd |