| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 48 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| OpCapability StorageInputOutput16 |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Vertex %main "main" %main_loc0_Input %main_loc1_Input %main_loc2_Input %main_loc3_Input %main_loc4_Input %main_loc5_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_loc4_Input "main_loc4_Input" |
| OpName %main_loc5_Input "main_loc5_Input" |
| OpName %main_position_Output "main_position_Output" |
| OpName %main___point_size_Output "main___point_size_Output" |
| OpName %main_inner "main_inner" |
| OpMemberName %VertexInputs 0 "loc0" |
| OpMemberName %VertexInputs 1 "loc1" |
| OpMemberName %VertexInputs 2 "loc2" |
| OpMemberName %VertexInputs 3 "loc3" |
| OpMemberName %VertexInputs 4 "loc4" |
| OpMemberName %VertexInputs 5 "loc5" |
| OpName %VertexInputs "VertexInputs" |
| OpName %inputs "inputs" |
| OpName %i "i" |
| OpName %u "u" |
| OpName %f "f" |
| OpName %v "v" |
| OpName %x "x" |
| OpName %y "y" |
| 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_loc4_Input Location 4 |
| OpDecorate %main_loc5_Input Location 5 |
| OpDecorate %main_position_Output BuiltIn Position |
| OpDecorate %main___point_size_Output BuiltIn PointSize |
| OpMemberDecorate %VertexInputs 0 Offset 0 |
| OpMemberDecorate %VertexInputs 1 Offset 4 |
| OpMemberDecorate %VertexInputs 2 Offset 8 |
| OpMemberDecorate %VertexInputs 3 Offset 16 |
| OpMemberDecorate %VertexInputs 4 Offset 32 |
| OpMemberDecorate %VertexInputs 5 Offset 40 |
| %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 |
| %half = OpTypeFloat 16 |
| %_ptr_Input_half = OpTypePointer Input %half |
| %main_loc4_Input = OpVariable %_ptr_Input_half Input |
| %v3half = OpTypeVector %half 3 |
| %_ptr_Input_v3half = OpTypePointer Input %v3half |
| %main_loc5_Input = OpVariable %_ptr_Input_v3half 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 |
| %VertexInputs = OpTypeStruct %int %uint %float %v4float %half %v3half |
| %26 = OpTypeFunction %v4float %VertexInputs |
| %34 = OpConstantNull %v4float |
| %void = OpTypeVoid |
| %37 = OpTypeFunction %void |
| %float_1 = OpConstant %float 1 |
| %main_inner = OpFunction %v4float None %26 |
| %inputs = OpFunctionParameter %VertexInputs |
| %27 = OpLabel |
| %i = OpCompositeExtract %int %inputs 0 |
| %u = OpCompositeExtract %uint %inputs 1 |
| %f = OpCompositeExtract %float %inputs 2 |
| %v = OpCompositeExtract %v4float %inputs 3 |
| %x = OpCompositeExtract %half %inputs 4 |
| %y = OpCompositeExtract %v3half %inputs 5 |
| OpReturnValue %34 |
| OpFunctionEnd |
| %main = OpFunction %void None %37 |
| %38 = OpLabel |
| %39 = OpLoad %int %main_loc0_Input None |
| %40 = OpLoad %uint %main_loc1_Input None |
| %41 = OpLoad %float %main_loc2_Input None |
| %42 = OpLoad %v4float %main_loc3_Input None |
| %43 = OpLoad %half %main_loc4_Input None |
| %44 = OpLoad %v3half %main_loc5_Input None |
| %45 = OpCompositeConstruct %VertexInputs %39 %40 %41 %42 %43 %44 |
| %46 = OpFunctionCall %v4float %main_inner %45 |
| OpStore %main_position_Output %46 None |
| OpStore %main___point_size_Output %float_1 None |
| OpReturn |
| OpFunctionEnd |