1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 36
5; Schema: 0
6               OpCapability Shader
7               OpCapability ImageQuery
8               OpMemoryModel Logical GLSL450
9               OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size
10               OpEntryPoint Fragment %fragment_main "fragment_main"
11               OpEntryPoint GLCompute %compute_main "compute_main"
12               OpExecutionMode %fragment_main OriginUpperLeft
13               OpExecutionMode %compute_main LocalSize 1 1 1
14               OpName %value "value"
15               OpName %vertex_point_size "vertex_point_size"
16               OpName %arg_0 "arg_0"
17               OpName %textureNumSamples_449d23 "textureNumSamples_449d23"
18               OpName %res "res"
19               OpName %vertex_main_inner "vertex_main_inner"
20               OpName %vertex_main "vertex_main"
21               OpName %fragment_main "fragment_main"
22               OpName %compute_main "compute_main"
23               OpDecorate %value BuiltIn Position
24               OpDecorate %vertex_point_size BuiltIn PointSize
25               OpDecorate %arg_0 DescriptorSet 1
26               OpDecorate %arg_0 Binding 0
27      %float = OpTypeFloat 32
28    %v4float = OpTypeVector %float 4
29%_ptr_Output_v4float = OpTypePointer Output %v4float
30          %5 = OpConstantNull %v4float
31      %value = OpVariable %_ptr_Output_v4float Output %5
32%_ptr_Output_float = OpTypePointer Output %float
33          %8 = OpConstantNull %float
34%vertex_point_size = OpVariable %_ptr_Output_float Output %8
35        %int = OpTypeInt 32 1
36         %11 = OpTypeImage %int 2D 0 0 1 1 Unknown
37%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
38      %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
39       %void = OpTypeVoid
40         %13 = OpTypeFunction %void
41%_ptr_Function_int = OpTypePointer Function %int
42         %21 = OpConstantNull %int
43         %22 = OpTypeFunction %v4float
44    %float_1 = OpConstant %float 1
45%textureNumSamples_449d23 = OpFunction %void None %13
46         %16 = OpLabel
47        %res = OpVariable %_ptr_Function_int Function %21
48         %18 = OpLoad %11 %arg_0
49         %17 = OpImageQuerySamples %int %18
50               OpStore %res %17
51               OpReturn
52               OpFunctionEnd
53%vertex_main_inner = OpFunction %v4float None %22
54         %24 = OpLabel
55         %25 = OpFunctionCall %void %textureNumSamples_449d23
56               OpReturnValue %5
57               OpFunctionEnd
58%vertex_main = OpFunction %void None %13
59         %27 = OpLabel
60         %28 = OpFunctionCall %v4float %vertex_main_inner
61               OpStore %value %28
62               OpStore %vertex_point_size %float_1
63               OpReturn
64               OpFunctionEnd
65%fragment_main = OpFunction %void None %13
66         %31 = OpLabel
67         %32 = OpFunctionCall %void %textureNumSamples_449d23
68               OpReturn
69               OpFunctionEnd
70%compute_main = OpFunction %void None %13
71         %34 = OpLabel
72         %35 = OpFunctionCall %void %textureNumSamples_449d23
73               OpReturn
74               OpFunctionEnd
75