blob: 24b49883e3dd8c25c409da8a2e0a350aa8d10701 [file] [log] [blame]
Antonio Maiorano7c9e6392022-12-12 15:31:21 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 30
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 %mix_275cac "mix_275cac"
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 %float_1 = OpConstant %float 1
34 %14 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
35%_ptr_Function_v4float = OpTypePointer Function %v4float
36 %17 = OpTypeFunction %v4float
37 %mix_275cac = OpFunction %void None %9
38 %12 = OpLabel
39 %res = OpVariable %_ptr_Function_v4float Function %5
40 OpStore %res %14
41 OpReturn
42 OpFunctionEnd
43%vertex_main_inner = OpFunction %v4float None %17
44 %19 = OpLabel
45 %20 = OpFunctionCall %void %mix_275cac
46 OpReturnValue %5
47 OpFunctionEnd
48%vertex_main = OpFunction %void None %9
49 %22 = OpLabel
50 %23 = OpFunctionCall %v4float %vertex_main_inner
51 OpStore %value %23
52 OpStore %vertex_point_size %float_1
53 OpReturn
54 OpFunctionEnd
55%fragment_main = OpFunction %void None %9
56 %25 = OpLabel
57 %26 = OpFunctionCall %void %mix_275cac
58 OpReturn
59 OpFunctionEnd
60%compute_main = OpFunction %void None %9
61 %28 = OpLabel
62 %29 = OpFunctionCall %void %mix_275cac
63 OpReturn
64 OpFunctionEnd