2021-06-03 09:38:34 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
|
|
|
; Bound: 33
|
|
|
|
; 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_5
|
|
|
|
OpName %tint_pointsize "tint_pointsize"
|
|
|
|
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_5 "tint_symbol_5"
|
|
|
|
OpName %tint_symbol_6 "tint_symbol_6"
|
|
|
|
OpName %tint_symbol_4 "tint_symbol_4"
|
|
|
|
OpName %main "main"
|
|
|
|
OpDecorate %tint_pointsize BuiltIn PointSize
|
|
|
|
OpDecorate %tint_symbol Location 0
|
2021-06-29 13:36:05 +00:00
|
|
|
OpDecorate %tint_symbol Flat
|
2021-06-03 09:38:34 +00:00
|
|
|
OpDecorate %tint_symbol_1 Location 1
|
2021-06-29 13:36:05 +00:00
|
|
|
OpDecorate %tint_symbol_1 Flat
|
2021-06-03 09:38:34 +00:00
|
|
|
OpDecorate %tint_symbol_2 Location 2
|
|
|
|
OpDecorate %tint_symbol_3 Location 3
|
|
|
|
OpDecorate %tint_symbol_5 BuiltIn Position
|
|
|
|
%float = OpTypeFloat 32
|
|
|
|
%_ptr_Output_float = OpTypePointer Output %float
|
|
|
|
%4 = OpConstantNull %float
|
|
|
|
%tint_pointsize = OpVariable %_ptr_Output_float Output %4
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%_ptr_Input_int = OpTypePointer Input %int
|
|
|
|
%tint_symbol = OpVariable %_ptr_Input_int Input
|
|
|
|
%uint = OpTypeInt 32 0
|
|
|
|
%_ptr_Input_uint = OpTypePointer Input %uint
|
|
|
|
%tint_symbol_1 = OpVariable %_ptr_Input_uint Input
|
|
|
|
%_ptr_Input_float = OpTypePointer Input %float
|
|
|
|
%tint_symbol_2 = OpVariable %_ptr_Input_float Input
|
|
|
|
%v4float = OpTypeVector %float 4
|
|
|
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
|
|
|
%tint_symbol_3 = OpVariable %_ptr_Input_v4float Input
|
|
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
|
|
|
%18 = OpConstantNull %v4float
|
|
|
|
%tint_symbol_5 = OpVariable %_ptr_Output_v4float Output %18
|
|
|
|
%void = OpTypeVoid
|
|
|
|
%19 = OpTypeFunction %void %v4float
|
|
|
|
%24 = OpTypeFunction %void
|
|
|
|
%float_1 = OpConstant %float 1
|
|
|
|
%tint_symbol_6 = OpFunction %void None %19
|
|
|
|
%tint_symbol_4 = OpFunctionParameter %v4float
|
|
|
|
%23 = OpLabel
|
|
|
|
OpStore %tint_symbol_5 %tint_symbol_4
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
|
|
|
%main = OpFunction %void None %24
|
|
|
|
%26 = OpLabel
|
|
|
|
OpStore %tint_pointsize %float_1
|
|
|
|
%28 = OpLoad %int %tint_symbol
|
|
|
|
%29 = OpLoad %uint %tint_symbol_1
|
|
|
|
%30 = OpLoad %float %tint_symbol_2
|
|
|
|
%31 = OpLoad %v4float %tint_symbol_3
|
|
|
|
%32 = OpFunctionCall %void %tint_symbol_6 %18
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|