| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 0 | |
| ; Bound: 36 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Vertex %main "main" %loc0_1 %loc1_1 %loc2_1 %loc3_1 %value %vertex_point_size | |
| OpName %loc0_1 "loc0_1" | |
| OpName %loc1_1 "loc1_1" | |
| OpName %loc2_1 "loc2_1" | |
| OpName %loc3_1 "loc3_1" | |
| OpName %value "value" | |
| OpName %vertex_point_size "vertex_point_size" | |
| OpName %main_inner "main_inner" | |
| OpName %loc0 "loc0" | |
| OpName %loc1 "loc1" | |
| OpName %loc2 "loc2" | |
| OpName %loc3 "loc3" | |
| OpName %main "main" | |
| OpDecorate %loc0_1 Location 0 | |
| OpDecorate %loc1_1 Location 1 | |
| OpDecorate %loc2_1 Location 2 | |
| OpDecorate %loc3_1 Location 3 | |
| OpDecorate %value BuiltIn Position | |
| OpDecorate %vertex_point_size BuiltIn PointSize | |
| %int = OpTypeInt 32 1 | |
| %_ptr_Input_int = OpTypePointer Input %int | |
| %loc0_1 = OpVariable %_ptr_Input_int Input | |
| %uint = OpTypeInt 32 0 | |
| %_ptr_Input_uint = OpTypePointer Input %uint | |
| %loc1_1 = OpVariable %_ptr_Input_uint Input | |
| %float = OpTypeFloat 32 | |
| %_ptr_Input_float = OpTypePointer Input %float | |
| %loc2_1 = OpVariable %_ptr_Input_float Input | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Input_v4float = OpTypePointer Input %v4float | |
| %loc3_1 = OpVariable %_ptr_Input_v4float Input | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %15 = OpConstantNull %v4float | |
| %value = OpVariable %_ptr_Output_v4float Output %15 | |
| %_ptr_Output_float = OpTypePointer Output %float | |
| %18 = OpConstantNull %float | |
| %vertex_point_size = OpVariable %_ptr_Output_float Output %18 | |
| %19 = OpTypeFunction %v4float %int %uint %float %v4float | |
| %void = OpTypeVoid | |
| %26 = OpTypeFunction %void | |
| %float_1 = OpConstant %float 1 | |
| %main_inner = OpFunction %v4float None %19 | |
| %loc0 = OpFunctionParameter %int | |
| %loc1 = OpFunctionParameter %uint | |
| %loc2 = OpFunctionParameter %float | |
| %loc3 = OpFunctionParameter %v4float | |
| %25 = OpLabel | |
| OpReturnValue %15 | |
| OpFunctionEnd | |
| %main = OpFunction %void None %26 | |
| %29 = OpLabel | |
| %31 = OpLoad %int %loc0_1 | |
| %32 = OpLoad %uint %loc1_1 | |
| %33 = OpLoad %float %loc2_1 | |
| %34 = OpLoad %v4float %loc3_1 | |
| %30 = OpFunctionCall %v4float %main_inner %31 %32 %33 %34 | |
| OpStore %value %30 | |
| OpStore %vertex_point_size %float_1 | |
| OpReturn | |
| OpFunctionEnd |