; SPIR-V ; Version: 1.3 ; Generator: Google Tint Compiler; 0 ; Bound: 64 ; Schema: 0 OpCapability Shader OpMemoryModel Logical GLSL450 OpEntryPoint Vertex %main "main" %tint_pointsize %tint_symbol %tint_symbol_2 OpName %tint_pointsize "tint_pointsize" OpName %vertexUniformBuffer1 "vertexUniformBuffer1" OpMemberName %vertexUniformBuffer1 0 "transform1" OpName %x_20 "x_20" OpName %vertexUniformBuffer2 "vertexUniformBuffer2" OpMemberName %vertexUniformBuffer2 0 "transform2" OpName %x_26 "x_26" OpName %tint_symbol "tint_symbol" OpName %tint_symbol_2 "tint_symbol_2" OpName %tint_symbol_3 "tint_symbol_3" OpName %tint_symbol_1 "tint_symbol_1" OpName %main "main" OpName %indexable "indexable" OpDecorate %tint_pointsize BuiltIn PointSize OpDecorate %vertexUniformBuffer1 Block OpMemberDecorate %vertexUniformBuffer1 0 Offset 0 OpMemberDecorate %vertexUniformBuffer1 0 ColMajor OpMemberDecorate %vertexUniformBuffer1 0 MatrixStride 8 OpDecorate %x_20 NonWritable OpDecorate %x_20 DescriptorSet 0 OpDecorate %x_20 Binding 0 OpDecorate %vertexUniformBuffer2 Block OpMemberDecorate %vertexUniformBuffer2 0 Offset 0 OpMemberDecorate %vertexUniformBuffer2 0 ColMajor OpMemberDecorate %vertexUniformBuffer2 0 MatrixStride 8 OpDecorate %x_26 NonWritable OpDecorate %x_26 DescriptorSet 1 OpDecorate %x_26 Binding 0 OpDecorate %tint_symbol BuiltIn VertexIndex OpDecorate %tint_symbol_2 BuiltIn Position OpDecorate %_arr_v2float_uint_3 ArrayStride 8 %float = OpTypeFloat 32 %_ptr_Output_float = OpTypePointer Output %float %4 = OpConstantNull %float %tint_pointsize = OpVariable %_ptr_Output_float Output %4 %v2float = OpTypeVector %float 2 %mat2v2float = OpTypeMatrix %v2float 2 %vertexUniformBuffer1 = OpTypeStruct %mat2v2float %_ptr_Uniform_vertexUniformBuffer1 = OpTypePointer Uniform %vertexUniformBuffer1 %x_20 = OpVariable %_ptr_Uniform_vertexUniformBuffer1 Uniform %vertexUniformBuffer2 = OpTypeStruct %mat2v2float %_ptr_Uniform_vertexUniformBuffer2 = OpTypePointer Uniform %vertexUniformBuffer2 %x_26 = OpVariable %_ptr_Uniform_vertexUniformBuffer2 Uniform %int = OpTypeInt 32 1 %_ptr_Input_int = OpTypePointer Input %int %tint_symbol = OpVariable %_ptr_Input_int Input %v4float = OpTypeVector %float 4 %_ptr_Output_v4float = OpTypePointer Output %v4float %19 = OpConstantNull %v4float %tint_symbol_2 = OpVariable %_ptr_Output_v4float Output %19 %void = OpTypeVoid %20 = OpTypeFunction %void %v4float %25 = OpTypeFunction %void %float_1 = OpConstant %float 1 %uint = OpTypeInt 32 0 %uint_3 = OpConstant %uint 3 %_arr_v2float_uint_3 = OpTypeArray %v2float %uint_3 %_ptr_Function__arr_v2float_uint_3 = OpTypePointer Function %_arr_v2float_uint_3 %34 = OpConstantNull %_arr_v2float_uint_3 %uint_0 = OpConstant %uint 0 %_ptr_Uniform_mat2v2float = OpTypePointer Uniform %mat2v2float %float_n1 = OpConstant %float -1 %43 = OpConstantComposite %v2float %float_n1 %float_1 %44 = OpConstantComposite %v2float %float_1 %float_1 %45 = OpConstantComposite %v2float %float_n1 %float_n1 %46 = OpConstantComposite %_arr_v2float_uint_3 %43 %44 %45 %_ptr_Function_v2float = OpTypePointer Function %v2float %uint_1 = OpConstant %uint 1 %float_0 = OpConstant %float 0 %tint_symbol_3 = OpFunction %void None %20 %tint_symbol_1 = OpFunctionParameter %v4float %24 = OpLabel OpStore %tint_symbol_2 %tint_symbol_1 OpReturn OpFunctionEnd %main = OpFunction %void None %25 %27 = OpLabel %indexable = OpVariable %_ptr_Function__arr_v2float_uint_3 Function %34 OpStore %tint_pointsize %float_1 %37 = OpAccessChain %_ptr_Uniform_mat2v2float %x_20 %uint_0 %38 = OpLoad %mat2v2float %37 %39 = OpAccessChain %_ptr_Uniform_mat2v2float %x_26 %uint_0 %40 = OpLoad %mat2v2float %39 %41 = OpLoad %int %tint_symbol OpStore %indexable %46 %48 = OpAccessChain %_ptr_Function_v2float %indexable %41 %49 = OpLoad %v2float %48 %50 = OpCompositeExtract %v2float %38 0 %51 = OpCompositeExtract %v2float %40 0 %52 = OpFAdd %v2float %50 %51 %54 = OpCompositeExtract %v2float %38 1 %55 = OpCompositeExtract %v2float %40 1 %56 = OpFAdd %v2float %54 %55 %57 = OpCompositeConstruct %mat2v2float %52 %56 %58 = OpMatrixTimesVector %v2float %57 %49 %60 = OpCompositeExtract %float %58 0 %61 = OpCompositeExtract %float %58 1 %63 = OpCompositeConstruct %v4float %60 %61 %float_0 %float_1 %59 = OpFunctionCall %void %tint_symbol_3 %63 OpReturn OpFunctionEnd