1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 36
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 %SB_RO "SB_RO"
16               OpMemberName %SB_RO 0 "arg_0"
17               OpName %sb_ro "sb_ro"
18               OpName %arrayLength_cfca0a "arrayLength_cfca0a"
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 %SB_RO Block
27               OpMemberDecorate %SB_RO 0 Offset 0
28               OpDecorate %_runtimearr_uint ArrayStride 4
29               OpDecorate %sb_ro NonWritable
30               OpDecorate %sb_ro DescriptorSet 0
31               OpDecorate %sb_ro Binding 1
32      %float = OpTypeFloat 32
33    %v4float = OpTypeVector %float 4
34%_ptr_Output_v4float = OpTypePointer Output %v4float
35          %5 = OpConstantNull %v4float
36      %value = OpVariable %_ptr_Output_v4float Output %5
37%_ptr_Output_float = OpTypePointer Output %float
38          %8 = OpConstantNull %float
39%vertex_point_size = OpVariable %_ptr_Output_float Output %8
40       %uint = OpTypeInt 32 0
41%_runtimearr_uint = OpTypeRuntimeArray %uint
42      %SB_RO = OpTypeStruct %_runtimearr_uint
43%_ptr_StorageBuffer_SB_RO = OpTypePointer StorageBuffer %SB_RO
44      %sb_ro = OpVariable %_ptr_StorageBuffer_SB_RO StorageBuffer
45       %void = OpTypeVoid
46         %14 = OpTypeFunction %void
47%_ptr_Function_uint = OpTypePointer Function %uint
48         %21 = OpConstantNull %uint
49         %22 = OpTypeFunction %v4float
50    %float_1 = OpConstant %float 1
51%arrayLength_cfca0a = OpFunction %void None %14
52         %17 = OpLabel
53        %res = OpVariable %_ptr_Function_uint Function %21
54         %18 = OpArrayLength %uint %sb_ro 0
55               OpStore %res %18
56               OpReturn
57               OpFunctionEnd
58%vertex_main_inner = OpFunction %v4float None %22
59         %24 = OpLabel
60         %25 = OpFunctionCall %void %arrayLength_cfca0a
61               OpReturnValue %5
62               OpFunctionEnd
63%vertex_main = OpFunction %void None %14
64         %27 = OpLabel
65         %28 = OpFunctionCall %v4float %vertex_main_inner
66               OpStore %value %28
67               OpStore %vertex_point_size %float_1
68               OpReturn
69               OpFunctionEnd
70%fragment_main = OpFunction %void None %14
71         %31 = OpLabel
72         %32 = OpFunctionCall %void %arrayLength_cfca0a
73               OpReturn
74               OpFunctionEnd
75%compute_main = OpFunction %void None %14
76         %34 = OpLabel
77         %35 = OpFunctionCall %void %arrayLength_cfca0a
78               OpReturn
79               OpFunctionEnd
80