1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 40
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 %dot_97c7ee "dot_97c7ee"
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       %uint = OpTypeInt 32 0
34     %v2uint = OpTypeVector %uint 2
35         %16 = OpConstantNull %v2uint
36%_ptr_Function_uint = OpTypePointer Function %uint
37         %25 = OpConstantNull %uint
38         %26 = OpTypeFunction %v4float
39    %float_1 = OpConstant %float 1
40 %dot_97c7ee = OpFunction %void None %9
41         %12 = OpLabel
42        %res = OpVariable %_ptr_Function_uint Function %25
43         %17 = OpCompositeExtract %uint %16 0
44         %18 = OpCompositeExtract %uint %16 0
45         %19 = OpIMul %uint %17 %18
46         %20 = OpCompositeExtract %uint %16 1
47         %21 = OpCompositeExtract %uint %16 1
48         %22 = OpIMul %uint %20 %21
49         %13 = OpIAdd %uint %19 %22
50               OpStore %res %13
51               OpReturn
52               OpFunctionEnd
53%vertex_main_inner = OpFunction %v4float None %26
54         %28 = OpLabel
55         %29 = OpFunctionCall %void %dot_97c7ee
56               OpReturnValue %5
57               OpFunctionEnd
58%vertex_main = OpFunction %void None %9
59         %31 = OpLabel
60         %32 = OpFunctionCall %v4float %vertex_main_inner
61               OpStore %value %32
62               OpStore %vertex_point_size %float_1
63               OpReturn
64               OpFunctionEnd
65%fragment_main = OpFunction %void None %9
66         %35 = OpLabel
67         %36 = OpFunctionCall %void %dot_97c7ee
68               OpReturn
69               OpFunctionEnd
70%compute_main = OpFunction %void None %9
71         %38 = OpLabel
72         %39 = OpFunctionCall %void %dot_97c7ee
73               OpReturn
74               OpFunctionEnd
75