| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 35 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Vertex %main "main" %main_loc0_Input %main_loc1_Input %main_loc2_Input %main_loc3_Input %main_position_Output %main___point_size_Output |
| OpName %main_loc0_Input "main_loc0_Input" |
| OpName %main_loc1_Input "main_loc1_Input" |
| OpName %main_loc2_Input "main_loc2_Input" |
| OpName %main_loc3_Input "main_loc3_Input" |
| OpName %main_position_Output "main_position_Output" |
| OpName %main___point_size_Output "main___point_size_Output" |
| OpName %main_inner "main_inner" |
| OpName %loc0 "loc0" |
| OpName %loc1 "loc1" |
| OpName %loc2 "loc2" |
| OpName %loc3 "loc3" |
| OpName %loc0 "i" |
| OpName %loc1 "u" |
| OpName %loc2 "f" |
| OpName %loc3 "v" |
| OpName %main "main" |
| OpDecorate %main_loc0_Input Location 0 |
| OpDecorate %main_loc1_Input Location 1 |
| OpDecorate %main_loc2_Input Location 2 |
| OpDecorate %main_loc3_Input Location 3 |
| OpDecorate %main_position_Output BuiltIn Position |
| OpDecorate %main___point_size_Output BuiltIn PointSize |
| %int = OpTypeInt 32 1 |
| %_ptr_Input_int = OpTypePointer Input %int |
| %main_loc0_Input = OpVariable %_ptr_Input_int Input |
| %uint = OpTypeInt 32 0 |
| %_ptr_Input_uint = OpTypePointer Input %uint |
| %main_loc1_Input = OpVariable %_ptr_Input_uint Input |
| %float = OpTypeFloat 32 |
| %_ptr_Input_float = OpTypePointer Input %float |
| %main_loc2_Input = OpVariable %_ptr_Input_float Input |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Input_v4float = OpTypePointer Input %v4float |
| %main_loc3_Input = OpVariable %_ptr_Input_v4float Input |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %main_position_Output = OpVariable %_ptr_Output_v4float Output |
| %_ptr_Output_float = OpTypePointer Output %float |
| %main___point_size_Output = OpVariable %_ptr_Output_float Output |
| %22 = OpTypeFunction %v4float %int %uint %float %v4float |
| %24 = OpConstantNull %v4float |
| %void = OpTypeVoid |
| %27 = OpTypeFunction %void |
| %float_1 = OpConstant %float 1 |
| %main_inner = OpFunction %v4float None %22 |
| %loc0 = OpFunctionParameter %int |
| %loc1 = OpFunctionParameter %uint |
| %loc2 = OpFunctionParameter %float |
| %loc3 = OpFunctionParameter %v4float |
| %23 = OpLabel |
| OpReturnValue %24 |
| OpFunctionEnd |
| %main = OpFunction %void None %27 |
| %28 = OpLabel |
| %29 = OpLoad %int %main_loc0_Input None |
| %30 = OpLoad %uint %main_loc1_Input None |
| %31 = OpLoad %float %main_loc2_Input None |
| %32 = OpLoad %v4float %main_loc3_Input None |
| %33 = OpFunctionCall %v4float %main_inner %29 %30 %31 %32 |
| OpStore %main_position_Output %33 None |
| OpStore %main___point_size_Output %float_1 None |
| OpReturn |
| OpFunctionEnd |