1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 38
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_340d06 "textureDimensions_340d06"
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 NonReadable
26               OpDecorate %arg_0 DescriptorSet 1
27               OpDecorate %arg_0 Binding 0
28      %float = OpTypeFloat 32
29    %v4float = OpTypeVector %float 4
30%_ptr_Output_v4float = OpTypePointer Output %v4float
31          %5 = OpConstantNull %v4float
32      %value = OpVariable %_ptr_Output_v4float Output %5
33%_ptr_Output_float = OpTypePointer Output %float
34          %8 = OpConstantNull %float
35%vertex_point_size = OpVariable %_ptr_Output_float Output %8
36       %uint = OpTypeInt 32 0
37         %11 = OpTypeImage %uint 3D 0 0 0 2 R32ui
38%_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11
39      %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
40       %void = OpTypeVoid
41         %13 = OpTypeFunction %void
42        %int = OpTypeInt 32 1
43      %v3int = OpTypeVector %int 3
44%_ptr_Function_v3int = OpTypePointer Function %v3int
45         %23 = OpConstantNull %v3int
46         %24 = OpTypeFunction %v4float
47    %float_1 = OpConstant %float 1
48%textureDimensions_340d06 = OpFunction %void None %13
49         %16 = OpLabel
50        %res = OpVariable %_ptr_Function_v3int Function %23
51         %20 = OpLoad %11 %arg_0
52         %17 = OpImageQuerySize %v3int %20
53               OpStore %res %17
54               OpReturn
55               OpFunctionEnd
56%vertex_main_inner = OpFunction %v4float None %24
57         %26 = OpLabel
58         %27 = OpFunctionCall %void %textureDimensions_340d06
59               OpReturnValue %5
60               OpFunctionEnd
61%vertex_main = OpFunction %void None %13
62         %29 = OpLabel
63         %30 = OpFunctionCall %v4float %vertex_main_inner
64               OpStore %value %30
65               OpStore %vertex_point_size %float_1
66               OpReturn
67               OpFunctionEnd
68%fragment_main = OpFunction %void None %13
69         %33 = OpLabel
70         %34 = OpFunctionCall %void %textureDimensions_340d06
71               OpReturn
72               OpFunctionEnd
73%compute_main = OpFunction %void None %13
74         %36 = OpLabel
75         %37 = OpFunctionCall %void %textureDimensions_340d06
76               OpReturn
77               OpFunctionEnd
78