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