blob: 2374315282d721afad428801a501f14466181e06 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 54
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Vertex %main "main" %x_1_param_4 %x_1_param_1_1 %x_1_param_2_1 %x_1_param_3_1 %x_2_1_1 %vertex_point_size
OpName %x_1_param_4 "x_1_param_4"
OpName %x_1_param_1_1 "x_1_param_1_1"
OpName %x_1_param_2_1 "x_1_param_2_1"
OpName %x_1_param_3_1 "x_1_param_3_1"
OpName %x_2_1_1 "x_2_1_1"
OpName %vertex_point_size "vertex_point_size"
OpName %x_1 "x_1"
OpName %x_2 "x_2"
OpName %main_1 "main_1"
OpName %main_out "main_out"
OpMemberName %main_out 0 "x_2_1"
OpName %main_inner "main_inner"
OpName %x_1_param "x_1_param"
OpName %x_1_param_1 "x_1_param_1"
OpName %x_1_param_2 "x_1_param_2"
OpName %x_1_param_3 "x_1_param_3"
OpName %main "main"
OpDecorate %x_1_param_4 Location 7
OpDecorate %x_1_param_1_1 Location 8
OpDecorate %x_1_param_2_1 Location 9
OpDecorate %x_1_param_3_1 Location 10
OpDecorate %x_2_1_1 BuiltIn Position
OpDecorate %vertex_point_size BuiltIn PointSize
OpDecorate %_arr_mat2v4float_uint_2 ArrayStride 32
OpMemberDecorate %main_out 0 Offset 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Input_v4float = OpTypePointer Input %v4float
%x_1_param_4 = OpVariable %_ptr_Input_v4float Input
%x_1_param_1_1 = OpVariable %_ptr_Input_v4float Input
%x_1_param_2_1 = OpVariable %_ptr_Input_v4float Input
%x_1_param_3_1 = OpVariable %_ptr_Input_v4float Input
%_ptr_Output_v4float = OpTypePointer Output %v4float
%10 = OpConstantNull %v4float
%x_2_1_1 = OpVariable %_ptr_Output_v4float Output %10
%_ptr_Output_float = OpTypePointer Output %float
%13 = OpConstantNull %float
%vertex_point_size = OpVariable %_ptr_Output_float Output %13
%mat2v4float = OpTypeMatrix %v4float 2
%uint = OpTypeInt 32 0
%uint_2 = OpConstant %uint 2
%_arr_mat2v4float_uint_2 = OpTypeArray %mat2v4float %uint_2
%_ptr_Private__arr_mat2v4float_uint_2 = OpTypePointer Private %_arr_mat2v4float_uint_2
%20 = OpConstantNull %_arr_mat2v4float_uint_2
%x_1 = OpVariable %_ptr_Private__arr_mat2v4float_uint_2 Private %20
%_ptr_Private_v4float = OpTypePointer Private %v4float
%x_2 = OpVariable %_ptr_Private_v4float Private %10
%void = OpTypeVoid
%23 = OpTypeFunction %void
%main_out = OpTypeStruct %v4float
%27 = OpTypeFunction %main_out %v4float %v4float %v4float %v4float
%int = OpTypeInt 32 1
%int_0 = OpConstant %int 0
%int_1 = OpConstant %int 1
%float_1 = OpConstant %float 1
%main_1 = OpFunction %void None %23
%26 = OpLabel
OpReturn
OpFunctionEnd
%main_inner = OpFunction %main_out None %27
%x_1_param = OpFunctionParameter %v4float
%x_1_param_1 = OpFunctionParameter %v4float
%x_1_param_2 = OpFunctionParameter %v4float
%x_1_param_3 = OpFunctionParameter %v4float
%34 = OpLabel
%37 = OpAccessChain %_ptr_Private_v4float %x_1 %int_0 %int_0
OpStore %37 %x_1_param
%39 = OpAccessChain %_ptr_Private_v4float %x_1 %int_0 %int_1
OpStore %39 %x_1_param_1
%40 = OpAccessChain %_ptr_Private_v4float %x_1 %int_1 %int_0
OpStore %40 %x_1_param_2
%41 = OpAccessChain %_ptr_Private_v4float %x_1 %int_1 %int_1
OpStore %41 %x_1_param_3
%42 = OpFunctionCall %void %main_1
%43 = OpLoad %v4float %x_2
%44 = OpCompositeConstruct %main_out %43
OpReturnValue %44
OpFunctionEnd
%main = OpFunction %void None %23
%46 = OpLabel
%48 = OpLoad %v4float %x_1_param_4
%49 = OpLoad %v4float %x_1_param_1_1
%50 = OpLoad %v4float %x_1_param_2_1
%51 = OpLoad %v4float %x_1_param_3_1
%47 = OpFunctionCall %main_out %main_inner %48 %49 %50 %51
%52 = OpCompositeExtract %v4float %47 0
OpStore %x_2_1_1 %52
OpStore %vertex_point_size %float_1
OpReturn
OpFunctionEnd