blob: 1fdecefd9a63e8ddd53be6326f0ecbd436bc02ca [file] [log] [blame]
Antonio Maioranoc3641732022-11-08 11:42:07 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 31
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
9 OpEntryPoint Fragment %fragment_main "fragment_main"
10 OpEntryPoint GLCompute %compute_main "compute_main"
11 OpExecutionMode %fragment_main OriginUpperLeft
12 OpExecutionMode %compute_main LocalSize 1 1 1
13 OpName %value "value"
14 OpName %vertex_point_size "vertex_point_size"
15 OpName %cross_1d7933 "cross_1d7933"
16 OpName %res "res"
17 OpName %vertex_main_inner "vertex_main_inner"
18 OpName %vertex_main "vertex_main"
19 OpName %fragment_main "fragment_main"
20 OpName %compute_main "compute_main"
21 OpDecorate %value BuiltIn Position
22 OpDecorate %vertex_point_size BuiltIn PointSize
23 %float = OpTypeFloat 32
24 %v4float = OpTypeVector %float 4
25%_ptr_Output_v4float = OpTypePointer Output %v4float
26 %5 = OpConstantNull %v4float
27 %value = OpVariable %_ptr_Output_v4float Output %5
28%_ptr_Output_float = OpTypePointer Output %float
29 %8 = OpConstantNull %float
30%vertex_point_size = OpVariable %_ptr_Output_float Output %8
31 %void = OpTypeVoid
32 %9 = OpTypeFunction %void
33 %v3float = OpTypeVector %float 3
34 %14 = OpConstantNull %v3float
35%_ptr_Function_v3float = OpTypePointer Function %v3float
36 %17 = OpTypeFunction %v4float
37 %float_1 = OpConstant %float 1
38%cross_1d7933 = OpFunction %void None %9
39 %12 = OpLabel
40 %res = OpVariable %_ptr_Function_v3float Function %14
41 OpStore %res %14
42 OpReturn
43 OpFunctionEnd
44%vertex_main_inner = OpFunction %v4float None %17
45 %19 = OpLabel
46 %20 = OpFunctionCall %void %cross_1d7933
47 OpReturnValue %5
48 OpFunctionEnd
49%vertex_main = OpFunction %void None %9
50 %22 = OpLabel
51 %23 = OpFunctionCall %v4float %vertex_main_inner
52 OpStore %value %23
53 OpStore %vertex_point_size %float_1
54 OpReturn
55 OpFunctionEnd
56%fragment_main = OpFunction %void None %9
57 %26 = OpLabel
58 %27 = OpFunctionCall %void %cross_1d7933
59 OpReturn
60 OpFunctionEnd
61%compute_main = OpFunction %void None %9
62 %29 = OpLabel
63 %30 = OpFunctionCall %void %cross_1d7933
64 OpReturn
65 OpFunctionEnd