blob: 0db9df4a4ad7d9c3fdc801b23d8929d4f09a966a [file] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 45
; 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"
OpName %loc0 "loc0"
OpName %loc1 "loc1"
OpName %loc2 "loc2"
OpName %loc3 "loc3"
OpName %loc4 "loc4"
OpName %loc5 "loc5"
OpName %loc0 "i"
OpName %loc1 "u"
OpName %loc2 "f"
OpName %loc3 "v"
OpName %loc4 "x"
OpName %loc5 "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
%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
%30 = OpTypeFunction %v4float %int %uint %float %v4float %half %v3half
%32 = OpConstantNull %v4float
%void = OpTypeVoid
%35 = OpTypeFunction %void
%float_1 = OpConstant %float 1
%main_inner = OpFunction %v4float None %30
%loc0 = OpFunctionParameter %int
%loc1 = OpFunctionParameter %uint
%loc2 = OpFunctionParameter %float
%loc3 = OpFunctionParameter %v4float
%loc4 = OpFunctionParameter %half
%loc5 = OpFunctionParameter %v3half
%31 = OpLabel
OpReturnValue %32
OpFunctionEnd
%main = OpFunction %void None %35
%36 = OpLabel
%37 = OpLoad %int %main_loc0_Input None
%38 = OpLoad %uint %main_loc1_Input None
%39 = OpLoad %float %main_loc2_Input None
%40 = OpLoad %v4float %main_loc3_Input None
%41 = OpLoad %half %main_loc4_Input None
%42 = OpLoad %v3half %main_loc5_Input None
%43 = OpFunctionCall %v4float %main_inner %37 %38 %39 %40 %41 %42
OpStore %main_position_Output %43 None
OpStore %main___point_size_Output %float_1 None
OpReturn
OpFunctionEnd