blob: 9ee31427864544e2b75cfc03420b95f6db95c335 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 68
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Vertex %main "main" %tint_pointsize %tint_symbol %tint_symbol_1 %tint_symbol_2 %tint_symbol_3 %tint_symbol_4 %tint_symbol_5 %tint_symbol_7
OpName %tint_pointsize "tint_pointsize"
OpName %x_1 "x_1"
OpName %x_2 "x_2"
OpName %x_3 "x_3"
OpName %x_4 "x_4"
OpName %x_5 "x_5"
OpName %x_6 "x_6"
OpName %x_8 "x_8"
OpName %tint_symbol "tint_symbol"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %tint_symbol_2 "tint_symbol_2"
OpName %tint_symbol_3 "tint_symbol_3"
OpName %tint_symbol_4 "tint_symbol_4"
OpName %tint_symbol_5 "tint_symbol_5"
OpName %tint_symbol_7 "tint_symbol_7"
OpName %main_1 "main_1"
OpName %main_out "main_out"
OpMemberName %main_out 0 "x_8_1"
OpName %tint_symbol_8 "tint_symbol_8"
OpName %tint_symbol_6 "tint_symbol_6"
OpName %main "main"
OpDecorate %tint_pointsize BuiltIn PointSize
OpDecorate %tint_symbol Location 1
OpDecorate %tint_symbol_1 Location 2
OpDecorate %tint_symbol_2 Location 3
OpDecorate %tint_symbol_3 Location 4
OpDecorate %tint_symbol_4 Location 5
OpDecorate %tint_symbol_4 Flat
OpDecorate %tint_symbol_5 Location 6
OpDecorate %tint_symbol_5 Flat
OpDecorate %tint_symbol_7 BuiltIn Position
OpMemberDecorate %main_out 0 Offset 0
%float = OpTypeFloat 32
%_ptr_Output_float = OpTypePointer Output %float
%4 = OpConstantNull %float
%tint_pointsize = OpVariable %_ptr_Output_float Output %4
%uint = OpTypeInt 32 0
%_ptr_Private_uint = OpTypePointer Private %uint
%8 = OpConstantNull %uint
%x_1 = OpVariable %_ptr_Private_uint Private %8
%v2uint = OpTypeVector %uint 2
%_ptr_Private_v2uint = OpTypePointer Private %v2uint
%12 = OpConstantNull %v2uint
%x_2 = OpVariable %_ptr_Private_v2uint Private %12
%int = OpTypeInt 32 1
%_ptr_Private_int = OpTypePointer Private %int
%16 = OpConstantNull %int
%x_3 = OpVariable %_ptr_Private_int Private %16
%v2int = OpTypeVector %int 2
%_ptr_Private_v2int = OpTypePointer Private %v2int
%20 = OpConstantNull %v2int
%x_4 = OpVariable %_ptr_Private_v2int Private %20
%_ptr_Private_float = OpTypePointer Private %float
%x_5 = OpVariable %_ptr_Private_float Private %4
%v2float = OpTypeVector %float 2
%_ptr_Private_v2float = OpTypePointer Private %v2float
%26 = OpConstantNull %v2float
%x_6 = OpVariable %_ptr_Private_v2float Private %26
%v4float = OpTypeVector %float 4
%_ptr_Private_v4float = OpTypePointer Private %v4float
%30 = OpConstantNull %v4float
%x_8 = OpVariable %_ptr_Private_v4float Private %30
%_ptr_Input_uint = OpTypePointer Input %uint
%tint_symbol = OpVariable %_ptr_Input_uint Input
%_ptr_Input_v2uint = OpTypePointer Input %v2uint
%tint_symbol_1 = OpVariable %_ptr_Input_v2uint Input
%_ptr_Input_int = OpTypePointer Input %int
%tint_symbol_2 = OpVariable %_ptr_Input_int Input
%_ptr_Input_v2int = OpTypePointer Input %v2int
%tint_symbol_3 = OpVariable %_ptr_Input_v2int Input
%_ptr_Input_float = OpTypePointer Input %float
%tint_symbol_4 = OpVariable %_ptr_Input_float Input
%_ptr_Input_v2float = OpTypePointer Input %v2float
%tint_symbol_5 = OpVariable %_ptr_Input_v2float Input
%_ptr_Output_v4float = OpTypePointer Output %v4float
%tint_symbol_7 = OpVariable %_ptr_Output_v4float Output %30
%void = OpTypeVoid
%45 = OpTypeFunction %void
%main_out = OpTypeStruct %v4float
%49 = OpTypeFunction %void %main_out
%float_1 = OpConstant %float 1
%main_1 = OpFunction %void None %45
%48 = OpLabel
OpReturn
OpFunctionEnd
%tint_symbol_8 = OpFunction %void None %49
%tint_symbol_6 = OpFunctionParameter %main_out
%53 = OpLabel
%54 = OpCompositeExtract %v4float %tint_symbol_6 0
OpStore %tint_symbol_7 %54
OpReturn
OpFunctionEnd
%main = OpFunction %void None %45
%56 = OpLabel
OpStore %tint_pointsize %float_1
%58 = OpLoad %uint %tint_symbol
OpStore %x_1 %58
%59 = OpLoad %v2uint %tint_symbol_1
OpStore %x_2 %59
%60 = OpLoad %int %tint_symbol_2
OpStore %x_3 %60
%61 = OpLoad %v2int %tint_symbol_3
OpStore %x_4 %61
%62 = OpLoad %float %tint_symbol_4
OpStore %x_5 %62
%63 = OpLoad %v2float %tint_symbol_5
OpStore %x_6 %63
%64 = OpFunctionCall %void %main_1
%66 = OpLoad %v4float %x_8
%67 = OpCompositeConstruct %main_out %66
%65 = OpFunctionCall %void %tint_symbol_8 %67
OpReturn
OpFunctionEnd