blob: dfe38116bcce8a6a972e638f95cbddda9ef647a6 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Vertex %tint_symbol "tint_symbol" %tint_symbol_vertex_index_Input %tint_symbol_position_Output %tint_symbol___point_size_Output
OpName %tint_symbol_vertex_index_Input "tint_symbol_vertex_index_Input"
OpName %tint_symbol_position_Output "tint_symbol_position_Output"
OpName %tint_symbol___point_size_Output "tint_symbol___point_size_Output"
OpName %tint_symbol_inner "tint_symbol_inner"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %tint_symbol "tint_symbol"
OpDecorate %tint_symbol_vertex_index_Input BuiltIn VertexIndex
OpDecorate %tint_symbol_position_Output BuiltIn Position
OpDecorate %tint_symbol___point_size_Output BuiltIn PointSize
%uint = OpTypeInt 32 0
%_ptr_Input_uint = OpTypePointer Input %uint
%tint_symbol_vertex_index_Input = OpVariable %_ptr_Input_uint Input
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%tint_symbol_position_Output = OpVariable %_ptr_Output_v4float Output
%_ptr_Output_float = OpTypePointer Output %float
%tint_symbol___point_size_Output = OpVariable %_ptr_Output_float Output
%12 = OpTypeFunction %v4float %uint
%float_0 = OpConstant %float 0
%float_1 = OpConstant %float 1
%14 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_1
%void = OpTypeVoid
%19 = OpTypeFunction %void
%tint_symbol_inner = OpFunction %v4float None %12
%tint_symbol_1 = OpFunctionParameter %uint
%13 = OpLabel
OpReturnValue %14
OpFunctionEnd
%tint_symbol = OpFunction %void None %19
%20 = OpLabel
%21 = OpLoad %uint %tint_symbol_vertex_index_Input None
%22 = OpFunctionCall %v4float %tint_symbol_inner %21
OpStore %tint_symbol_position_Output %22 None
OpStore %tint_symbol___point_size_Output %float_1 None
OpReturn
OpFunctionEnd