1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 41
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 %textureDimensions_1f20c5 "textureDimensions_1f20c5"
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       %uint = OpTypeInt 32 0
36         %11 = OpTypeImage %uint 2D 0 1 0 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        %int = OpTypeInt 32 1
42      %v2int = OpTypeVector %int 2
43      %v3int = OpTypeVector %int 3
44      %int_0 = OpConstant %int 0
45%_ptr_Function_v2int = OpTypePointer Function %v2int
46         %26 = OpConstantNull %v2int
47         %27 = OpTypeFunction %v4float
48    %float_1 = OpConstant %float 1
49%textureDimensions_1f20c5 = OpFunction %void None %13
50         %16 = OpLabel
51        %res = OpVariable %_ptr_Function_v2int Function %26
52         %22 = OpLoad %11 %arg_0
53         %20 = OpImageQuerySizeLod %v3int %22 %int_0
54         %17 = OpVectorShuffle %v2int %20 %20 0 1
55               OpStore %res %17
56               OpReturn
57               OpFunctionEnd
58%vertex_main_inner = OpFunction %v4float None %27
59         %29 = OpLabel
60         %30 = OpFunctionCall %void %textureDimensions_1f20c5
61               OpReturnValue %5
62               OpFunctionEnd
63%vertex_main = OpFunction %void None %13
64         %32 = OpLabel
65         %33 = OpFunctionCall %v4float %vertex_main_inner
66               OpStore %value %33
67               OpStore %vertex_point_size %float_1
68               OpReturn
69               OpFunctionEnd
70%fragment_main = OpFunction %void None %13
71         %36 = OpLabel
72         %37 = OpFunctionCall %void %textureDimensions_1f20c5
73               OpReturn
74               OpFunctionEnd
75%compute_main = OpFunction %void None %13
76         %39 = OpLabel
77         %40 = OpFunctionCall %void %textureDimensions_1f20c5
78               OpReturn
79               OpFunctionEnd
80