upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorAslan2142 <jan.trencansky@protonmail.com>2026-11-26 22:45:14 +0100
committerGitHub <noreply@github.com>2026-11-26 22:45:14 +0100
commit011d446c32554879db1eaa00542caaa79f0dc688 (patch)
tree6d08954f37f02be95ccb7abf7228646bcf2111d2 /runtime/src
parent55e2bd9e9e4287bbdbe1951446cae1437d4ad57e (diff)
parent359ba968d51907ece4438193e03e854ab7bf8d38 (diff)
Merge pull request #2408 from aslan2142/dispatch-width-counters
indirect clamp: count dispatch records by width and log them (RT-INDIRECT-DISPATCH-COUNTERS)
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/indirect_clamp.comp11
-rw-r--r--runtime/src/indirect_clamp_spv.h513
-rw-r--r--runtime/src/vulkan_indirect_clamp.h36
3 files changed, 311 insertions, 249 deletions
diff --git a/runtime/src/indirect_clamp.comp b/runtime/src/indirect_clamp.comp
index 7cf9ec244..37af7431f 100644
--- a/runtime/src/indirect_clamp.comp
+++ b/runtime/src/indirect_clamp.comp
@@ -57,6 +57,7 @@ const uint unfilled_draw = 1u << 23u; // vertices or indices an instance
57const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count 57const uint max_vertex_instances = 1u << 26u; // vertex (or index) count times instance count
58const uint max_mesh_dimension = 65535u; // groups in a mesh dispatch's x (dispatches: p.max_x, y, z) 58const uint max_mesh_dimension = 65535u; // groups in a mesh dispatch's x (dispatches: p.max_x, y, z)
59const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch 59const uint max_groups = 1u << 20u; // groups in one dispatch or mesh dispatch
60const uint narrow_groups = 65535u; // the x a dispatch record was cut at before, for the counters
60const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64 61const uint budget = 1u << 27u; // work in the whole command list: vertices, indices, or groups * 64
61 62
62// Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never 63// Charges `cost` units to the batch's budget. Saturating: a record that no longer fits runs empty, so the batch never
@@ -148,6 +149,8 @@ void main() {
148 uint y = min(asked_y, limit.y); 149 uint y = min(asked_y, limit.y);
149 uint z = min(asked_z, limit.z); 150 uint z = min(asked_z, limit.z);
150 if (p.kind == 3u) { y = 1u; z = 1u; } 151 if (p.kind == 3u) { y = 1u; z = 1u; }
152 // A dispatch past the device's limit in some dimension, cut there (stats word 14).
153 const bool past_device = p.kind != 3u && (x != asked_x || y != asked_y || z != asked_z);
151 const uint groups = p.flags >> 1u; 154 const uint groups = p.flags >> 1u;
152 if (groups != 0u && x != 0u && y != 0u && z != 0u) { 155 if (groups != 0u && x != 0u && y != 0u && z != 0u) {
153 x = min(x, groups); 156 x = min(x, groups);
@@ -159,6 +162,14 @@ void main() {
159 y = 0u; 162 y = 0u;
160 z = 0u; 163 z = 0u;
161 } 164 }
165 if (p.kind != 3u) {
166 // Dispatch records (stats words 12-15): those that run wider than 65 535 groups in x, the widest x that
167 // runs, those cut at the device's limits (and still run), and all of them.
168 atomicAdd(p.stats.data[15], 1u);
169 if (x > narrow_groups) atomicAdd(p.stats.data[12], 1u);
170 atomicMax(p.stats.data[13], x);
171 if (past_device && x != 0u) atomicAdd(p.stats.data[14], 1u);
172 }
162 clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u; 173 clamped = x != asked_x || y != asked_y || z != asked_z ? 1u : 0u;
163 cost = x * y * z * (p.kind == 3u ? 128u : 64u); 174 cost = x * y * z * (p.kind == 3u ? 128u : 64u);
164 words[0] = x; 175 words[0] = x;
diff --git a/runtime/src/indirect_clamp_spv.h b/runtime/src/indirect_clamp_spv.h
index fc13cd44c..36e4d9654 100644
--- a/runtime/src/indirect_clamp_spv.h
+++ b/runtime/src/indirect_clamp_spv.h
@@ -3,7 +3,7 @@
3#include <cstdint> 3#include <cstdint>
4namespace leonida { 4namespace leonida {
5inline constexpr std::uint32_t indirect_clamp_spirv[] = { 5inline constexpr std::uint32_t indirect_clamp_spirv[] = {
6 0x07230203u, 0x00010500u, 0x0008000bu, 0x00000353u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u, 6 0x07230203u, 0x00010500u, 0x0008000bu, 0x000003b0u, 0x00000000u, 0x00020011u, 0x00000001u, 0x00020011u,
7 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu, 7 0x000014e3u, 0x0006000bu, 0x00000001u, 0x4c534c47u, 0x6474732eu, 0x3035342eu, 0x00000000u, 0x0003000eu,
8 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u, 8 0x000014e4u, 0x00000001u, 0x0007000fu, 0x00000005u, 0x00000004u, 0x6e69616du, 0x00000000u, 0x00000026u,
9 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u, 9 0x0000005au, 0x00060010u, 0x00000004u, 0x00000011u, 0x00000040u, 0x00000001u, 0x00000001u, 0x00030003u,
@@ -46,7 +46,7 @@ inline constexpr std::uint32_t indirect_clamp_spirv[] = {
46 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, 0x00000023u, 0x00000000u, 46 0x00030047u, 0x00000022u, 0x00000002u, 0x00050048u, 0x00000022u, 0x00000000u, 0x00000023u, 0x00000000u,
47 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, 0x00000002u, 0x00050048u, 47 0x00040047u, 0x00000023u, 0x00000006u, 0x00000004u, 0x00030047u, 0x00000024u, 0x00000002u, 0x00050048u,
48 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, 0x0000000bu, 0x0000001cu, 48 0x00000024u, 0x00000000u, 0x00000023u, 0x00000000u, 0x00040047u, 0x0000005au, 0x0000000bu, 0x0000001cu,
49 0x00040047u, 0x00000260u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, 0x00030021u, 0x00000003u, 49 0x00040047u, 0x00000293u, 0x0000000bu, 0x00000019u, 0x00020013u, 0x00000002u, 0x00030021u, 0x00000003u,
50 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, 0x00000007u, 0x00000007u, 50 0x00000002u, 0x00040015u, 0x00000006u, 0x00000020u, 0x00000000u, 0x00040020u, 0x00000007u, 0x00000007u,
51 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, 0x00000000u, 0x00030029u, 51 0x00000006u, 0x00020014u, 0x00000008u, 0x0004002bu, 0x00000006u, 0x0000000eu, 0x00000000u, 0x00030029u,
52 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, 0x00000016u, 0x000014e5u, 52 0x00000008u, 0x00000012u, 0x00030027u, 0x00000015u, 0x000014e5u, 0x00030027u, 0x00000016u, 0x000014e5u,
@@ -83,249 +83,270 @@ inline constexpr std::uint32_t indirect_clamp_spirv[] = {
83 0x00000006u, 0x000001a8u, 0x0000ffffu, 0x0006002cu, 0x00000058u, 0x000001a9u, 0x000001a8u, 0x0000002fu, 83 0x00000006u, 0x000001a8u, 0x0000ffffu, 0x0006002cu, 0x00000058u, 0x000001a9u, 0x000001a8u, 0x0000002fu,
84 0x0000002fu, 0x0004002bu, 0x00000027u, 0x000001abu, 0x0000000cu, 0x0004002bu, 0x00000027u, 0x000001aeu, 84 0x0000002fu, 0x0004002bu, 0x00000027u, 0x000001abu, 0x0000000cu, 0x0004002bu, 0x00000027u, 0x000001aeu,
85 0x0000000du, 0x0004002bu, 0x00000027u, 0x000001b1u, 0x0000000eu, 0x0006002cu, 0x00000058u, 0x000001b5u, 85 0x0000000du, 0x0004002bu, 0x00000027u, 0x000001b1u, 0x0000000eu, 0x0006002cu, 0x00000058u, 0x000001b5u,
86 0x0000002fu, 0x0000002fu, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x000001f7u, 0x00100000u, 0x0004002bu, 86 0x0000002fu, 0x0000002fu, 0x0000002fu, 0x0004002bu, 0x00000006u, 0x00000209u, 0x00100000u, 0x0004002bu,
87 0x00000006u, 0x00000222u, 0x00000080u, 0x0004002bu, 0x00000006u, 0x00000223u, 0x00000040u, 0x0006002cu, 87 0x00000027u, 0x00000227u, 0x0000000fu, 0x0004002bu, 0x00000006u, 0x00000255u, 0x00000080u, 0x0004002bu,
88 0x00000058u, 0x00000260u, 0x00000223u, 0x0000002fu, 0x0000002fu, 0x00030001u, 0x00000008u, 0x000002fau, 88 0x00000006u, 0x00000256u, 0x00000040u, 0x0006002cu, 0x00000058u, 0x00000293u, 0x00000256u, 0x0000002fu,
89 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u, 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, 89 0x0000002fu, 0x00030001u, 0x00000008u, 0x0000034bu, 0x00050036u, 0x00000002u, 0x00000004u, 0x00000000u,
90 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u, 0x00000261u, 0x00000000u, 0x000300fbu, 0x0000000eu, 90 0x00000003u, 0x000200f8u, 0x00000005u, 0x0004003bu, 0x00000115u, 0x00000116u, 0x00000007u, 0x000300f7u,
91 0x00000262u, 0x000200f8u, 0x00000262u, 0x00050041u, 0x0000005bu, 0x0000005cu, 0x0000005au, 0x0000000eu, 91 0x00000294u, 0x00000000u, 0x000300fbu, 0x0000000eu, 0x00000295u, 0x000200f8u, 0x00000295u, 0x00050041u,
92 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu, 0x00050041u, 0x00000060u, 0x00000061u, 0x00000026u, 92 0x0000005bu, 0x0000005cu, 0x0000005au, 0x0000000eu, 0x0004003du, 0x00000006u, 0x0000005du, 0x0000005cu,
93 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u, 0x00000061u, 0x000500aeu, 0x00000008u, 0x00000063u, 93 0x00050041u, 0x00000060u, 0x00000061u, 0x00000026u, 0x0000005fu, 0x0004003du, 0x00000006u, 0x00000062u,
94 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u, 0x00000000u, 0x000400fau, 0x00000063u, 0x00000064u, 94 0x00000061u, 0x000500aeu, 0x00000008u, 0x00000063u, 0x0000005du, 0x00000062u, 0x000300f7u, 0x00000065u,
95 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u, 0x00000261u, 0x000200f8u, 0x00000065u, 0x00050041u, 95 0x00000000u, 0x000400fau, 0x00000063u, 0x00000064u, 0x00000065u, 0x000200f8u, 0x00000064u, 0x000200f9u,
96 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u, 0x0004003du, 0x00000006u, 0x0000006au, 0x00000069u, 96 0x00000294u, 0x000200f8u, 0x00000065u, 0x00050041u, 0x00000060u, 0x00000069u, 0x00000026u, 0x00000068u,
97 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au, 0x0000005du, 0x00050041u, 0x00000060u, 0x0000006fu, 97 0x0004003du, 0x00000006u, 0x0000006au, 0x00000069u, 0x00050080u, 0x00000006u, 0x0000006cu, 0x0000006au,
98 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u, 0x00000070u, 0x0000006fu, 0x000500b2u, 0x00000008u, 98 0x0000005du, 0x00050041u, 0x00000060u, 0x0000006fu, 0x00000026u, 0x0000006eu, 0x0004003du, 0x00000006u,
99 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000074u, 0x00000000u, 0x000400fau, 0x00000071u, 99 0x00000070u, 0x0000006fu, 0x000500b2u, 0x00000008u, 0x00000071u, 0x00000070u, 0x0000002fu, 0x000300f7u,
100 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u, 0x000500aau, 0x00000008u, 0x00000077u, 0x00000070u, 100 0x00000074u, 0x00000000u, 0x000400fau, 0x00000071u, 0x00000073u, 0x0000007bu, 0x000200f8u, 0x00000073u,
101 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au, 0x00000077u, 0x00000078u, 0x00000079u, 0x000200f9u, 101 0x000500aau, 0x00000008u, 0x00000077u, 0x00000070u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x0000007au,
102 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x00000074u, 0x000700f5u, 102 0x00000077u, 0x00000078u, 0x00000079u, 0x000200f9u, 0x00000074u, 0x000200f8u, 0x0000007bu, 0x000200f9u,
103 0x00000006u, 0x0000029du, 0x0000007au, 0x00000073u, 0x0000007cu, 0x0000007bu, 0x00050084u, 0x00000006u, 103 0x00000074u, 0x000200f8u, 0x00000074u, 0x000700f5u, 0x00000006u, 0x000002d0u, 0x0000007au, 0x00000073u,
104 0x00000081u, 0x0000005du, 0x0000029du, 0x00050041u, 0x00000060u, 0x00000085u, 0x00000026u, 0x00000084u, 104 0x0000007cu, 0x0000007bu, 0x00050084u, 0x00000006u, 0x00000081u, 0x0000005du, 0x000002d0u, 0x00050041u,
105 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u, 0x000500c7u, 0x00000006u, 0x00000087u, 0x00000086u, 105 0x00000060u, 0x00000085u, 0x00000026u, 0x00000084u, 0x0004003du, 0x00000006u, 0x00000086u, 0x00000085u,
106 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u, 0x00000087u, 0x0000000eu, 0x00050041u, 0x00000060u, 106 0x000500c7u, 0x00000006u, 0x00000087u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x00000088u,
107 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du, 0x00000006u, 0x0000008cu, 0x0000008bu, 0x000300f7u, 107 0x00000087u, 0x0000000eu, 0x00050041u, 0x00000060u, 0x0000008bu, 0x00000026u, 0x0000008au, 0x0004003du,
108 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u, 0x0000008eu, 0x0000008fu, 0x000200f8u, 0x0000008eu, 108 0x00000006u, 0x0000008cu, 0x0000008bu, 0x000300f7u, 0x0000008fu, 0x00000000u, 0x000400fau, 0x00000088u,
109 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u, 0x00000091u, 0x0004003du, 0x00000016u, 0x00000094u, 109 0x0000008eu, 0x0000008fu, 0x000200f8u, 0x0000008eu, 0x00050041u, 0x00000092u, 0x00000093u, 0x00000026u,
110 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u, 0x00000094u, 0x0000002cu, 0x0000002cu, 0x0006003du, 110 0x00000091u, 0x0004003du, 0x00000016u, 0x00000094u, 0x00000093u, 0x00060041u, 0x0000002du, 0x00000095u,
111 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u, 0x00000004u, 0x0007000cu, 0x00000006u, 0x00000099u, 111 0x00000094u, 0x0000002cu, 0x0000002cu, 0x0006003du, 0x00000006u, 0x00000096u, 0x00000095u, 0x00000002u,
112 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u, 0x000500aau, 0x00000008u, 0x0000009bu, 0x0000006cu, 112 0x00000004u, 0x0007000cu, 0x00000006u, 0x00000099u, 0x00000001u, 0x00000026u, 0x0000008cu, 0x00000096u,
113 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u, 0x000400fau, 0x0000009bu, 0x0000009cu, 0x0000009du, 113 0x000500aau, 0x00000008u, 0x0000009bu, 0x0000006cu, 0x0000000eu, 0x000300f7u, 0x0000009du, 0x00000000u,
114 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu, 0x000000a0u, 0x00000026u, 0x0000009eu, 0x0004003du, 114 0x000400fau, 0x0000009bu, 0x0000009cu, 0x0000009du, 0x000200f8u, 0x0000009cu, 0x00050041u, 0x0000009fu,
115 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u, 0x0000002du, 0x000000a3u, 0x000000a1u, 0x0000002cu, 115 0x000000a0u, 0x00000026u, 0x0000009eu, 0x0004003du, 0x00000018u, 0x000000a1u, 0x000000a0u, 0x00060041u,
116 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u, 0x00000002u, 0x00000004u, 0x000500abu, 0x00000008u, 116 0x0000002du, 0x000000a3u, 0x000000a1u, 0x0000002cu, 0x0000002cu, 0x0005003eu, 0x000000a3u, 0x00000099u,
117 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u, 0x000000a8u, 0x00000000u, 0x000400fau, 0x000000a6u, 117 0x00000002u, 0x00000004u, 0x000500abu, 0x00000008u, 0x000000a6u, 0x00000096u, 0x00000099u, 0x000300f7u,
118 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u, 0x00050041u, 0x00000029u, 0x000000aau, 0x00000026u, 118 0x000000a8u, 0x00000000u, 0x000400fau, 0x000000a6u, 0x000000a7u, 0x000000a8u, 0x000200f8u, 0x000000a7u,
119 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu, 0x000000aau, 0x00060041u, 0x0000002du, 0x000000acu, 119 0x00050041u, 0x00000029u, 0x000000aau, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x000000abu,
120 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau, 0x00000006u, 0x000000adu, 0x000000acu, 0x0000002fu, 120 0x000000aau, 0x00060041u, 0x0000002du, 0x000000acu, 0x000000abu, 0x0000002cu, 0x00000091u, 0x000700eau,
121 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u, 0x000200f8u, 0x000000a8u, 0x000200f9u, 0x0000009du, 121 0x00000006u, 0x000000adu, 0x000000acu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x000000a8u,
122 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu, 0x000200f8u, 0x0000008fu, 0x000700f5u, 0x00000006u, 122 0x000200f8u, 0x000000a8u, 0x000200f9u, 0x0000009du, 0x000200f8u, 0x0000009du, 0x000200f9u, 0x0000008fu,
123 0x000002a3u, 0x0000008cu, 0x00000074u, 0x00000099u, 0x0000009du, 0x000500aeu, 0x00000008u, 0x000000b0u, 123 0x000200f8u, 0x0000008fu, 0x000700f5u, 0x00000006u, 0x000002d6u, 0x0000008cu, 0x00000074u, 0x00000099u,
124 0x0000006cu, 0x000002a3u, 0x000300f7u, 0x000000b2u, 0x00000000u, 0x000400fau, 0x000000b0u, 0x000000b1u, 124 0x0000009du, 0x000500aeu, 0x00000008u, 0x000000b0u, 0x0000006cu, 0x000002d6u, 0x000300f7u, 0x000000b2u,
125 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u, 0x000000b4u, 0x000200f8u, 0x000000b4u, 0x000700f5u, 125 0x00000000u, 0x000400fau, 0x000000b0u, 0x000000b1u, 0x000000b2u, 0x000200f8u, 0x000000b1u, 0x000200f9u,
126 0x00000006u, 0x00000345u, 0x0000000eu, 0x000000b1u, 0x000000c5u, 0x000000b5u, 0x000500b0u, 0x00000008u, 126 0x000000b4u, 0x000200f8u, 0x000000b4u, 0x000700f5u, 0x00000006u, 0x000003a2u, 0x0000000eu, 0x000000b1u,
127 0x000000bbu, 0x00000345u, 0x0000029du, 0x000400f6u, 0x000000b6u, 0x000000b5u, 0x00000000u, 0x000400fau, 127 0x000000c5u, 0x000000b5u, 0x000500b0u, 0x00000008u, 0x000000bbu, 0x000003a2u, 0x000002d0u, 0x000400f6u,
128 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u, 0x000000b5u, 0x00050041u, 0x000000bdu, 0x000000beu, 128 0x000000b6u, 0x000000b5u, 0x00000000u, 0x000400fau, 0x000000bbu, 0x000000b5u, 0x000000b6u, 0x000200f8u,
129 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x000000bfu, 0x000000beu, 0x00050080u, 0x00000006u, 129 0x000000b5u, 0x00050041u, 0x000000bdu, 0x000000beu, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u,
130 0x000000c2u, 0x00000081u, 0x00000345u, 0x00060041u, 0x0000002du, 0x000000c3u, 0x000000bfu, 0x0000002cu, 130 0x000000bfu, 0x000000beu, 0x00050080u, 0x00000006u, 0x000000c2u, 0x00000081u, 0x000003a2u, 0x00060041u,
131 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 131 0x0000002du, 0x000000c3u, 0x000000bfu, 0x0000002cu, 0x000000c2u, 0x0005003eu, 0x000000c3u, 0x0000000eu,
132 0x000000c5u, 0x00000345u, 0x00000091u, 0x000200f9u, 0x000000b4u, 0x000200f8u, 0x000000b6u, 0x000200f9u, 132 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x000000c5u, 0x000003a2u, 0x00000091u, 0x000200f9u,
133 0x00000261u, 0x000200f8u, 0x000000b2u, 0x00050041u, 0x00000060u, 0x000000cau, 0x00000026u, 0x000000c9u, 133 0x000000b4u, 0x000200f8u, 0x000000b6u, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000b2u, 0x00050041u,
134 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau, 0x00050084u, 0x00000006u, 0x000000ccu, 0x0000005du, 134 0x00000060u, 0x000000cau, 0x00000026u, 0x000000c9u, 0x0004003du, 0x00000006u, 0x000000cbu, 0x000000cau,
135 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000cfu, 0x000700f5u, 0x00000008u, 0x000002aeu, 135 0x00050084u, 0x00000006u, 0x000000ccu, 0x0000005du, 0x000000cbu, 0x000200f9u, 0x000000cfu, 0x000200f8u,
136 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u, 0x000700f5u, 0x00000006u, 0x000002a9u, 0x0000000eu, 136 0x000000cfu, 0x000700f5u, 0x00000008u, 0x000002e1u, 0x00000012u, 0x000000b2u, 0x000000e4u, 0x000000d2u,
137 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u, 0x00000008u, 0x000000d6u, 0x000002a9u, 0x0000029du, 137 0x000700f5u, 0x00000006u, 0x000002dcu, 0x0000000eu, 0x000000b2u, 0x000000e6u, 0x000000d2u, 0x000500b0u,
138 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u, 0x000400fau, 0x000000d6u, 0x000000d0u, 0x000000d1u, 138 0x00000008u, 0x000000d6u, 0x000002dcu, 0x000002d0u, 0x000400f6u, 0x000000d1u, 0x000000d2u, 0x00000000u,
139 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u, 0x00000000u, 0x000400fau, 0x000002aeu, 0x000000d8u, 139 0x000400fau, 0x000000d6u, 0x000000d0u, 0x000000d1u, 0x000200f8u, 0x000000d0u, 0x000300f7u, 0x000000d9u,
140 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u, 0x000000dau, 0x000000dbu, 0x00000026u, 0x0000002cu, 140 0x00000000u, 0x000400fau, 0x000002e1u, 0x000000d8u, 0x000000d9u, 0x000200f8u, 0x000000d8u, 0x00050041u,
141 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu, 0x00050080u, 0x00000006u, 0x000000dfu, 0x000000ccu, 141 0x000000dau, 0x000000dbu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000dcu, 0x000000dbu,
142 0x000002a9u, 0x00060041u, 0x0000002du, 0x000000e0u, 0x000000dcu, 0x0000002cu, 0x000000dfu, 0x0006003du, 142 0x00050080u, 0x00000006u, 0x000000dfu, 0x000000ccu, 0x000002dcu, 0x00060041u, 0x0000002du, 0x000000e0u,
143 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000e3u, 143 0x000000dcu, 0x0000002cu, 0x000000dfu, 0x0006003du, 0x00000006u, 0x000000e1u, 0x000000e0u, 0x00000002u,
144 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u, 0x000200f8u, 0x000000d9u, 0x000700f5u, 0x00000008u, 144 0x00000004u, 0x000500aau, 0x00000008u, 0x000000e3u, 0x000000e1u, 0x000000e2u, 0x000200f9u, 0x000000d9u,
145 0x000000e4u, 0x000002aeu, 0x000000d0u, 0x000000e3u, 0x000000d8u, 0x000200f9u, 0x000000d2u, 0x000200f8u, 145 0x000200f8u, 0x000000d9u, 0x000700f5u, 0x00000008u, 0x000000e4u, 0x000002e1u, 0x000000d0u, 0x000000e3u,
146 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u, 0x000002a9u, 0x00000091u, 0x000200f9u, 0x000000cfu, 146 0x000000d8u, 0x000200f9u, 0x000000d2u, 0x000200f8u, 0x000000d2u, 0x00050080u, 0x00000006u, 0x000000e6u,
147 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u, 0x000000e8u, 0x000002aeu, 0x000300f7u, 0x000000eau, 147 0x000002dcu, 0x00000091u, 0x000200f9u, 0x000000cfu, 0x000200f8u, 0x000000d1u, 0x000400a8u, 0x00000008u,
148 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u, 0x000000eau, 0x000200f8u, 0x000000e9u, 0x000500aau, 148 0x000000e8u, 0x000002e1u, 0x000300f7u, 0x000000eau, 0x00000000u, 0x000400fau, 0x000000e8u, 0x000000e9u,
149 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x000000efu, 0x00000000u, 0x000400fau, 149 0x000000eau, 0x000200f8u, 0x000000e9u, 0x000500aau, 0x00000008u, 0x000000edu, 0x00000070u, 0x0000007cu,
150 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u, 0x000000eeu, 0x00050041u, 0x000000dau, 0x000000f0u, 150 0x000300f7u, 0x000000efu, 0x00000000u, 0x000400fau, 0x000000edu, 0x000000eeu, 0x000000efu, 0x000200f8u,
151 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x000000f1u, 0x000000f0u, 0x00060041u, 0x0000002du, 151 0x000000eeu, 0x00050041u, 0x000000dau, 0x000000f0u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u,
152 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x000000f4u, 0x000000f3u, 152 0x000000f1u, 0x000000f0u, 0x00060041u, 0x0000002du, 0x000000f3u, 0x000000f1u, 0x0000002cu, 0x000000ccu,
153 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x000000f5u, 0x000000f4u, 0x000000e2u, 0x000200f9u, 153 0x0006003du, 0x00000006u, 0x000000f4u, 0x000000f3u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u,
154 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u, 0x00000008u, 0x000000f6u, 0x000000edu, 0x000000e9u, 154 0x000000f5u, 0x000000f4u, 0x000000e2u, 0x000200f9u, 0x000000efu, 0x000200f8u, 0x000000efu, 0x000700f5u,
155 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau, 0x000200f8u, 0x000000eau, 0x000700f5u, 0x00000008u, 155 0x00000008u, 0x000000f6u, 0x000000edu, 0x000000e9u, 0x000000f5u, 0x000000eeu, 0x000200f9u, 0x000000eau,
156 0x000000f7u, 0x000002aeu, 0x000000d1u, 0x000000f6u, 0x000000efu, 0x000300f7u, 0x000000f9u, 0x00000000u, 156 0x000200f8u, 0x000000eau, 0x000700f5u, 0x00000008u, 0x000000f7u, 0x000002e1u, 0x000000d1u, 0x000000f6u,
157 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u, 0x000200f8u, 0x000000f8u, 0x000200f9u, 0x000000fbu, 157 0x000000efu, 0x000300f7u, 0x000000f9u, 0x00000000u, 0x000400fau, 0x000000f7u, 0x000000f8u, 0x000000f9u,
158 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u, 0x00000341u, 0x0000000eu, 0x000000f8u, 0x0000010au, 158 0x000200f8u, 0x000000f8u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fbu, 0x000700f5u, 0x00000006u,
159 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u, 0x00000341u, 0x0000029du, 0x000400f6u, 0x000000fdu, 159 0x0000039eu, 0x0000000eu, 0x000000f8u, 0x0000010au, 0x000000fcu, 0x000500b0u, 0x00000008u, 0x00000102u,
160 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u, 0x000000fcu, 0x000000fdu, 0x000200f8u, 0x000000fcu, 160 0x0000039eu, 0x000002d0u, 0x000400f6u, 0x000000fdu, 0x000000fcu, 0x00000000u, 0x000400fau, 0x00000102u,
161 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u, 0x000000bcu, 0x0004003du, 0x00000017u, 0x00000104u, 161 0x000000fcu, 0x000000fdu, 0x000200f8u, 0x000000fcu, 0x00050041u, 0x000000bdu, 0x00000103u, 0x00000026u,
162 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u, 0x00000081u, 0x00000341u, 0x00060041u, 0x0000002du, 162 0x000000bcu, 0x0004003du, 0x00000017u, 0x00000104u, 0x00000103u, 0x00050080u, 0x00000006u, 0x00000107u,
163 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u, 0x0005003eu, 0x00000108u, 0x0000000eu, 0x00000002u, 163 0x00000081u, 0x0000039eu, 0x00060041u, 0x0000002du, 0x00000108u, 0x00000104u, 0x0000002cu, 0x00000107u,
164 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au, 0x00000341u, 0x00000091u, 0x000200f9u, 0x000000fbu, 164 0x0005003eu, 0x00000108u, 0x0000000eu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000010au,
165 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u, 0x0000010bu, 0x00000026u, 0x000000a9u, 0x0004003du, 165 0x0000039eu, 0x00000091u, 0x000200f9u, 0x000000fbu, 0x000200f8u, 0x000000fdu, 0x00050041u, 0x00000029u,
166 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u, 0x0000002du, 0x0000010du, 0x0000010cu, 0x0000002cu, 166 0x0000010bu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000010cu, 0x0000010bu, 0x00060041u,
167 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu, 0x0000010du, 0x0000002fu, 0x0000000eu, 0x0000002fu, 167 0x0000002du, 0x0000010du, 0x0000010cu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000010eu,
168 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu, 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 168 0x0000010du, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000111u, 0x0000010cu,
169 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000200f9u, 0x00000261u, 0x000200f8u, 169 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x00000112u, 0x00000111u, 0x0000002fu, 0x0000000eu,
170 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000300f7u, 0x0000011eu, 0x00000000u, 0x000400fau, 170 0x0000002fu, 0x000200f9u, 0x00000294u, 0x000200f8u, 0x000000f9u, 0x0003003eu, 0x00000116u, 0x00000117u,
171 0x00000071u, 0x0000011du, 0x0000016du, 0x000200f8u, 0x0000011du, 0x00050041u, 0x000000dau, 0x00000120u, 171 0x000300f7u, 0x0000011eu, 0x00000000u, 0x000400fau, 0x00000071u, 0x0000011du, 0x0000016du, 0x000200f8u,
172 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000121u, 0x00000120u, 0x00060041u, 0x0000002du, 172 0x0000011du, 0x00050041u, 0x000000dau, 0x00000120u, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u,
173 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x00000124u, 0x00000123u, 173 0x00000121u, 0x00000120u, 0x00060041u, 0x0000002du, 0x00000123u, 0x00000121u, 0x0000002cu, 0x000000ccu,
174 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000129u, 0x000000ccu, 0x0000002fu, 0x00060041u, 174 0x0006003du, 0x00000006u, 0x00000124u, 0x00000123u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u,
175 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu, 0x00000129u, 0x0006003du, 0x00000006u, 0x0000012bu, 175 0x00000129u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x0000012au, 0x00000121u, 0x0000002cu,
176 0x0000012au, 0x00000002u, 0x00000004u, 0x000500aeu, 0x00000008u, 0x0000012fu, 0x00000124u, 0x0000012eu, 176 0x00000129u, 0x0006003du, 0x00000006u, 0x0000012bu, 0x0000012au, 0x00000002u, 0x00000004u, 0x000500aeu,
177 0x000300f7u, 0x00000132u, 0x00000000u, 0x000400fau, 0x0000012fu, 0x00000131u, 0x00000133u, 0x000200f8u, 177 0x00000008u, 0x0000012fu, 0x00000124u, 0x0000012eu, 0x000300f7u, 0x00000132u, 0x00000000u, 0x000400fau,
178 0x00000131u, 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000133u, 0x0007000cu, 0x00000006u, 0x00000136u, 178 0x0000012fu, 0x00000131u, 0x00000133u, 0x000200f8u, 0x00000131u, 0x000200f9u, 0x00000132u, 0x000200f8u,
179 0x00000001u, 0x00000026u, 0x00000124u, 0x00000135u, 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000132u, 179 0x00000133u, 0x0007000cu, 0x00000006u, 0x00000136u, 0x00000001u, 0x00000026u, 0x00000124u, 0x00000135u,
180 0x000700f5u, 0x00000006u, 0x000002e0u, 0x0000000eu, 0x00000131u, 0x00000136u, 0x00000133u, 0x0007000cu, 180 0x000200f9u, 0x00000132u, 0x000200f8u, 0x00000132u, 0x000700f5u, 0x00000006u, 0x00000331u, 0x0000000eu,
181 0x00000006u, 0x0000013cu, 0x00000001u, 0x00000029u, 0x000002e0u, 0x0000002fu, 0x00050086u, 0x00000006u, 181 0x00000131u, 0x00000136u, 0x00000133u, 0x0007000cu, 0x00000006u, 0x0000013cu, 0x00000001u, 0x00000029u,
182 0x0000013du, 0x0000013au, 0x0000013cu, 0x0007000cu, 0x00000006u, 0x0000013eu, 0x00000001u, 0x00000026u, 182 0x00000331u, 0x0000002fu, 0x00050086u, 0x00000006u, 0x0000013du, 0x0000013au, 0x0000013cu, 0x0007000cu,
183 0x0000012bu, 0x0000013du, 0x000500aau, 0x00000008u, 0x00000140u, 0x000002e0u, 0x0000000eu, 0x000600a9u, 183 0x00000006u, 0x0000013eu, 0x00000001u, 0x00000026u, 0x0000012bu, 0x0000013du, 0x000500aau, 0x00000008u,
184 0x00000006u, 0x0000034cu, 0x00000140u, 0x0000000eu, 0x0000013eu, 0x000500abu, 0x00000008u, 0x00000145u, 184 0x00000140u, 0x00000331u, 0x0000000eu, 0x000600a9u, 0x00000006u, 0x000003a9u, 0x00000140u, 0x0000000eu,
185 0x000002e0u, 0x00000124u, 0x000500abu, 0x00000008u, 0x00000148u, 0x0000034cu, 0x0000012bu, 0x000500a6u, 185 0x0000013eu, 0x000500abu, 0x00000008u, 0x00000145u, 0x00000331u, 0x00000124u, 0x000500abu, 0x00000008u,
186 0x00000008u, 0x00000149u, 0x00000145u, 0x00000148u, 0x000600a9u, 0x00000006u, 0x0000014au, 0x00000149u, 186 0x00000148u, 0x000003a9u, 0x0000012bu, 0x000500a6u, 0x00000008u, 0x00000149u, 0x00000145u, 0x00000148u,
187 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u, 0x0000014du, 0x000002e0u, 0x0000034cu, 0x00050041u, 187 0x000600a9u, 0x00000006u, 0x0000014au, 0x00000149u, 0x0000002fu, 0x0000000eu, 0x00050084u, 0x00000006u,
188 0x00000007u, 0x0000014fu, 0x00000116u, 0x0000002cu, 0x0003003eu, 0x0000014fu, 0x000002e0u, 0x00050041u, 188 0x0000014du, 0x00000331u, 0x000003a9u, 0x00050041u, 0x00000007u, 0x0000014fu, 0x00000116u, 0x0000002cu,
189 0x00000007u, 0x00000151u, 0x00000116u, 0x00000091u, 0x0003003eu, 0x00000151u, 0x0000034cu, 0x00050080u, 189 0x0003003eu, 0x0000014fu, 0x00000331u, 0x00050041u, 0x00000007u, 0x00000151u, 0x00000116u, 0x00000091u,
190 0x00000006u, 0x00000156u, 0x000000ccu, 0x00000155u, 0x00060041u, 0x0000002du, 0x00000157u, 0x00000121u, 190 0x0003003eu, 0x00000151u, 0x000003a9u, 0x00050080u, 0x00000006u, 0x00000156u, 0x000000ccu, 0x00000155u,
191 0x0000002cu, 0x00000156u, 0x0006003du, 0x00000006u, 0x00000158u, 0x00000157u, 0x00000002u, 0x00000004u, 191 0x00060041u, 0x0000002du, 0x00000157u, 0x00000121u, 0x0000002cu, 0x00000156u, 0x0006003du, 0x00000006u,
192 0x00050041u, 0x00000007u, 0x00000159u, 0x00000116u, 0x000000bcu, 0x0003003eu, 0x00000159u, 0x00000158u, 192 0x00000158u, 0x00000157u, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000159u, 0x00000116u,
193 0x00050080u, 0x00000006u, 0x0000015du, 0x000000ccu, 0x0000007cu, 0x00060041u, 0x0000002du, 0x0000015eu, 193 0x000000bcu, 0x0003003eu, 0x00000159u, 0x00000158u, 0x00050080u, 0x00000006u, 0x0000015du, 0x000000ccu,
194 0x00000121u, 0x0000002cu, 0x0000015du, 0x0006003du, 0x00000006u, 0x0000015fu, 0x0000015eu, 0x00000002u, 194 0x0000007cu, 0x00060041u, 0x0000002du, 0x0000015eu, 0x00000121u, 0x0000002cu, 0x0000015du, 0x0006003du,
195 0x00000004u, 0x00050041u, 0x00000007u, 0x00000160u, 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000160u, 195 0x00000006u, 0x0000015fu, 0x0000015eu, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x00000160u,
196 0x0000015fu, 0x000500aau, 0x00000008u, 0x00000163u, 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000165u, 196 0x00000116u, 0x0000009eu, 0x0003003eu, 0x00000160u, 0x0000015fu, 0x000500aau, 0x00000008u, 0x00000163u,
197 0x00000000u, 0x000400fau, 0x00000163u, 0x00000164u, 0x00000165u, 0x000200f8u, 0x00000164u, 0x00050080u, 197 0x00000070u, 0x0000002fu, 0x000300f7u, 0x00000165u, 0x00000000u, 0x000400fau, 0x00000163u, 0x00000164u,
198 0x00000006u, 0x00000169u, 0x000000ccu, 0x00000078u, 0x00060041u, 0x0000002du, 0x0000016au, 0x00000121u, 198 0x00000165u, 0x000200f8u, 0x00000164u, 0x00050080u, 0x00000006u, 0x00000169u, 0x000000ccu, 0x00000078u,
199 0x0000002cu, 0x00000169u, 0x0006003du, 0x00000006u, 0x0000016bu, 0x0000016au, 0x00000002u, 0x00000004u, 199 0x00060041u, 0x0000002du, 0x0000016au, 0x00000121u, 0x0000002cu, 0x00000169u, 0x0006003du, 0x00000006u,
200 0x00050041u, 0x00000007u, 0x0000016cu, 0x00000116u, 0x000000a9u, 0x0003003eu, 0x0000016cu, 0x0000016bu, 200 0x0000016bu, 0x0000016au, 0x00000002u, 0x00000004u, 0x00050041u, 0x00000007u, 0x0000016cu, 0x00000116u,
201 0x000200f9u, 0x00000165u, 0x000200f8u, 0x00000165u, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000016du, 201 0x000000a9u, 0x0003003eu, 0x0000016cu, 0x0000016bu, 0x000200f9u, 0x00000165u, 0x000200f8u, 0x00000165u,
202 0x00050041u, 0x000000dau, 0x0000016fu, 0x00000026u, 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000170u, 202 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000016du, 0x00050041u, 0x000000dau, 0x0000016fu, 0x00000026u,
203 0x0000016fu, 0x00060041u, 0x0000002du, 0x00000172u, 0x00000170u, 0x0000002cu, 0x000000ccu, 0x0006003du, 203 0x0000002cu, 0x0004003du, 0x00000015u, 0x00000170u, 0x0000016fu, 0x00060041u, 0x0000002du, 0x00000172u,
204 0x00000006u, 0x00000173u, 0x00000172u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000178u, 204 0x00000170u, 0x0000002cu, 0x000000ccu, 0x0006003du, 0x00000006u, 0x00000173u, 0x00000172u, 0x00000002u,
205 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000179u, 0x00000170u, 0x0000002cu, 0x00000178u, 205 0x00000004u, 0x00050080u, 0x00000006u, 0x00000178u, 0x000000ccu, 0x0000002fu, 0x00060041u, 0x0000002du,
206 0x0006003du, 0x00000006u, 0x0000017au, 0x00000179u, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 206 0x00000179u, 0x00000170u, 0x0000002cu, 0x00000178u, 0x0006003du, 0x00000006u, 0x0000017au, 0x00000179u,
207 0x0000017fu, 0x000000ccu, 0x00000155u, 0x00060041u, 0x0000002du, 0x00000180u, 0x00000170u, 0x0000002cu, 207 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000017fu, 0x000000ccu, 0x00000155u, 0x00060041u,
208 0x0000017fu, 0x0006003du, 0x00000006u, 0x00000181u, 0x00000180u, 0x00000002u, 0x00000004u, 0x000500aau, 208 0x0000002du, 0x00000180u, 0x00000170u, 0x0000002cu, 0x0000017fu, 0x0006003du, 0x00000006u, 0x00000181u,
209 0x00000008u, 0x00000184u, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x00000186u, 0x00000000u, 0x000400fau, 209 0x00000180u, 0x00000002u, 0x00000004u, 0x000500aau, 0x00000008u, 0x00000184u, 0x00000070u, 0x0000007cu,
210 0x00000184u, 0x00000185u, 0x00000186u, 0x000200f8u, 0x00000185u, 0x00050041u, 0x00000029u, 0x00000187u, 210 0x000300f7u, 0x00000186u, 0x00000000u, 0x000400fau, 0x00000184u, 0x00000185u, 0x00000186u, 0x000200f8u,
211 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000188u, 0x00000187u, 0x00060041u, 0x0000002du, 211 0x00000185u, 0x00050041u, 0x00000029u, 0x00000187u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u,
212 0x00000189u, 0x00000188u, 0x0000002cu, 0x0000005fu, 0x000700eau, 0x00000006u, 0x0000018au, 0x00000189u, 212 0x00000188u, 0x00000187u, 0x00060041u, 0x0000002du, 0x00000189u, 0x00000188u, 0x0000002cu, 0x0000005fu,
213 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000018cu, 0x0000017au, 0x0000002fu, 213 0x000700eau, 0x00000006u, 0x0000018au, 0x00000189u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu,
214 0x000500acu, 0x00000008u, 0x0000018eu, 0x00000181u, 0x0000002fu, 0x000500a6u, 0x00000008u, 0x0000018fu, 214 0x00000008u, 0x0000018cu, 0x0000017au, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000018eu, 0x00000181u,
215 0x0000018cu, 0x0000018eu, 0x000300f7u, 0x00000191u, 0x00000000u, 0x000400fau, 0x0000018fu, 0x00000190u, 215 0x0000002fu, 0x000500a6u, 0x00000008u, 0x0000018fu, 0x0000018cu, 0x0000018eu, 0x000300f7u, 0x00000191u,
216 0x00000191u, 0x000200f8u, 0x00000190u, 0x00060041u, 0x0000002du, 0x00000194u, 0x00000188u, 0x0000002cu, 216 0x00000000u, 0x000400fau, 0x0000018fu, 0x00000190u, 0x00000191u, 0x000200f8u, 0x00000190u, 0x00060041u,
217 0x00000068u, 0x000700eau, 0x00000006u, 0x00000195u, 0x00000194u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 217 0x0000002du, 0x00000194u, 0x00000188u, 0x0000002cu, 0x00000068u, 0x000700eau, 0x00000006u, 0x00000195u,
218 0x00060041u, 0x0000002du, 0x00000198u, 0x00000188u, 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 218 0x00000194u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00060041u, 0x0000002du, 0x00000198u, 0x00000188u,
219 0x0000019au, 0x00000198u, 0x0000002fu, 0x0000000eu, 0x0000017au, 0x00060041u, 0x0000002du, 0x0000019du, 219 0x0000002cu, 0x0000008au, 0x000700efu, 0x00000006u, 0x0000019au, 0x00000198u, 0x0000002fu, 0x0000000eu,
220 0x00000188u, 0x0000002cu, 0x00000084u, 0x000700efu, 0x00000006u, 0x0000019fu, 0x0000019du, 0x0000002fu, 220 0x0000017au, 0x00060041u, 0x0000002du, 0x0000019du, 0x00000188u, 0x0000002cu, 0x00000084u, 0x000700efu,
221 0x0000000eu, 0x00000181u, 0x000200f9u, 0x00000191u, 0x000200f8u, 0x00000191u, 0x000200f9u, 0x00000186u, 221 0x00000006u, 0x0000019fu, 0x0000019du, 0x0000002fu, 0x0000000eu, 0x00000181u, 0x000200f9u, 0x00000191u,
222 0x000200f8u, 0x00000186u, 0x000300f7u, 0x000001a7u, 0x00000000u, 0x000400fau, 0x00000184u, 0x000001a6u, 222 0x000200f8u, 0x00000191u, 0x000200f9u, 0x00000186u, 0x000200f8u, 0x00000186u, 0x000300f7u, 0x000001a7u,
223 0x000001aau, 0x000200f8u, 0x000001a6u, 0x000200f9u, 0x000001a7u, 0x000200f8u, 0x000001aau, 0x00050041u, 223 0x00000000u, 0x000400fau, 0x00000184u, 0x000001a6u, 0x000001aau, 0x000200f8u, 0x000001a6u, 0x000200f9u,
224 0x00000060u, 0x000001acu, 0x00000026u, 0x000001abu, 0x0004003du, 0x00000006u, 0x000001adu, 0x000001acu, 224 0x000001a7u, 0x000200f8u, 0x000001aau, 0x00050041u, 0x00000060u, 0x000001acu, 0x00000026u, 0x000001abu,
225 0x00050041u, 0x00000060u, 0x000001afu, 0x00000026u, 0x000001aeu, 0x0004003du, 0x00000006u, 0x000001b0u, 225 0x0004003du, 0x00000006u, 0x000001adu, 0x000001acu, 0x00050041u, 0x00000060u, 0x000001afu, 0x00000026u,
226 0x000001afu, 0x00050041u, 0x00000060u, 0x000001b2u, 0x00000026u, 0x000001b1u, 0x0004003du, 0x00000006u, 226 0x000001aeu, 0x0004003du, 0x00000006u, 0x000001b0u, 0x000001afu, 0x00050041u, 0x00000060u, 0x000001b2u,
227 0x000001b3u, 0x000001b2u, 0x00060050u, 0x00000058u, 0x000001b4u, 0x000001adu, 0x000001b0u, 0x000001b3u, 227 0x00000026u, 0x000001b1u, 0x0004003du, 0x00000006u, 0x000001b3u, 0x000001b2u, 0x00060050u, 0x00000058u,
228 0x0007000cu, 0x00000058u, 0x000001b6u, 0x00000001u, 0x00000029u, 0x000001b4u, 0x000001b5u, 0x000200f9u, 228 0x000001b4u, 0x000001adu, 0x000001b0u, 0x000001b3u, 0x0007000cu, 0x00000058u, 0x000001b6u, 0x00000001u,
229 0x000001a7u, 0x000200f8u, 0x000001a7u, 0x000700f5u, 0x00000058u, 0x000002b2u, 0x000001a9u, 0x000001a6u, 229 0x00000029u, 0x000001b4u, 0x000001b5u, 0x000200f9u, 0x000001a7u, 0x000200f8u, 0x000001a7u, 0x000700f5u,
230 0x000001b6u, 0x000001aau, 0x00050051u, 0x00000006u, 0x000001bbu, 0x000002b2u, 0x00000000u, 0x0007000cu, 230 0x00000058u, 0x000002e5u, 0x000001a9u, 0x000001a6u, 0x000001b6u, 0x000001aau, 0x00050051u, 0x00000006u,
231 0x00000006u, 0x000001bcu, 0x00000001u, 0x00000026u, 0x00000173u, 0x000001bbu, 0x00050051u, 0x00000006u, 231 0x000001bbu, 0x000002e5u, 0x00000000u, 0x0007000cu, 0x00000006u, 0x000001bcu, 0x00000001u, 0x00000026u,
232 0x000001c0u, 0x000002b2u, 0x00000001u, 0x0007000cu, 0x00000006u, 0x000001c1u, 0x00000001u, 0x00000026u, 232 0x00000173u, 0x000001bbu, 0x00050051u, 0x00000006u, 0x000001c0u, 0x000002e5u, 0x00000001u, 0x0007000cu,
233 0x0000017au, 0x000001c0u, 0x00050051u, 0x00000006u, 0x000001c5u, 0x000002b2u, 0x00000002u, 0x0007000cu, 233 0x00000006u, 0x000001c1u, 0x00000001u, 0x00000026u, 0x0000017au, 0x000001c0u, 0x00050051u, 0x00000006u,
234 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u, 0x00000181u, 0x000001c5u, 0x000600a9u, 0x00000006u, 234 0x000001c5u, 0x000002e5u, 0x00000002u, 0x0007000cu, 0x00000006u, 0x000001c6u, 0x00000001u, 0x00000026u,
235 0x0000034du, 0x00000184u, 0x0000002fu, 0x000001c6u, 0x000600a9u, 0x00000006u, 0x0000034eu, 0x00000184u, 235 0x00000181u, 0x000001c5u, 0x000600a9u, 0x00000006u, 0x000003aau, 0x00000184u, 0x0000002fu, 0x000001c6u,
236 0x0000002fu, 0x000001c1u, 0x000500c2u, 0x00000006u, 0x000001cfu, 0x00000086u, 0x0000002fu, 0x000500abu, 236 0x000600a9u, 0x00000006u, 0x000003abu, 0x00000184u, 0x0000002fu, 0x000001c1u, 0x000500abu, 0x00000008u,
237 0x00000008u, 0x000001d1u, 0x000001cfu, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001d3u, 0x000001bcu, 237 0x000001cfu, 0x00000070u, 0x0000007cu, 0x000300f7u, 0x000001d1u, 0x00000000u, 0x000400fau, 0x000001cfu,
238 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001d4u, 0x000001d1u, 0x000001d3u, 0x000500abu, 0x00000008u, 238 0x000001d0u, 0x000001d1u, 0x000200f8u, 0x000001d0u, 0x000500abu, 0x00000008u, 0x000001d4u, 0x000001bcu,
239 0x000001d6u, 0x0000034eu, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001d7u, 0x000001d4u, 0x000001d6u, 239 0x00000173u, 0x000500abu, 0x00000008u, 0x000001d7u, 0x000003abu, 0x0000017au, 0x000500a6u, 0x00000008u,
240 0x000500abu, 0x00000008u, 0x000001d9u, 0x0000034du, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001dau, 240 0x000001d8u, 0x000001d4u, 0x000001d7u, 0x000500abu, 0x00000008u, 0x000001dbu, 0x000003aau, 0x00000181u,
241 0x000001d7u, 0x000001d9u, 0x000300f7u, 0x000001dcu, 0x00000000u, 0x000400fau, 0x000001dau, 0x000001dbu, 241 0x000500a6u, 0x00000008u, 0x000001dcu, 0x000001d8u, 0x000001dbu, 0x000200f9u, 0x000001d1u, 0x000200f8u,
242 0x000001dcu, 0x000200f8u, 0x000001dbu, 0x0007000cu, 0x00000006u, 0x000001dfu, 0x00000001u, 0x00000026u, 242 0x000001d1u, 0x000700f5u, 0x00000008u, 0x000001ddu, 0x000001cfu, 0x000001a7u, 0x000001dcu, 0x000001d0u,
243 0x000001bcu, 0x000001cfu, 0x00050086u, 0x00000006u, 0x000001e3u, 0x000001cfu, 0x000001dfu, 0x0007000cu, 243 0x000500c2u, 0x00000006u, 0x000001e1u, 0x00000086u, 0x0000002fu, 0x000500abu, 0x00000008u, 0x000001e3u,
244 0x00000006u, 0x000001e4u, 0x00000001u, 0x00000026u, 0x0000034eu, 0x000001e3u, 0x00050086u, 0x00000006u, 244 0x000001e1u, 0x0000000eu, 0x000500abu, 0x00000008u, 0x000001e5u, 0x000001bcu, 0x0000000eu, 0x000500a7u,
245 0x000001eau, 0x000001e3u, 0x000001e4u, 0x0007000cu, 0x00000006u, 0x000001ebu, 0x00000001u, 0x00000026u, 245 0x00000008u, 0x000001e6u, 0x000001e3u, 0x000001e5u, 0x000500abu, 0x00000008u, 0x000001e8u, 0x000003abu,
246 0x0000034du, 0x000001eau, 0x000200f9u, 0x000001dcu, 0x000200f8u, 0x000001dcu, 0x000700f5u, 0x00000006u, 246 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001e9u, 0x000001e6u, 0x000001e8u, 0x000500abu, 0x00000008u,
247 0x000002c1u, 0x0000034du, 0x000001a7u, 0x000001ebu, 0x000001dbu, 0x000700f5u, 0x00000006u, 0x000002c0u, 247 0x000001ebu, 0x000003aau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001ecu, 0x000001e9u, 0x000001ebu,
248 0x0000034eu, 0x000001a7u, 0x000001e4u, 0x000001dbu, 0x000700f5u, 0x00000006u, 0x000002bfu, 0x000001bcu, 248 0x000300f7u, 0x000001eeu, 0x00000000u, 0x000400fau, 0x000001ecu, 0x000001edu, 0x000001eeu, 0x000200f8u,
249 0x000001a7u, 0x000001dfu, 0x000001dbu, 0x000500abu, 0x00000008u, 0x000001edu, 0x000002bfu, 0x0000000eu, 249 0x000001edu, 0x0007000cu, 0x00000006u, 0x000001f1u, 0x00000001u, 0x00000026u, 0x000001bcu, 0x000001e1u,
250 0x000500abu, 0x00000008u, 0x000001efu, 0x000002c0u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x000001f0u, 250 0x00050086u, 0x00000006u, 0x000001f5u, 0x000001e1u, 0x000001f1u, 0x0007000cu, 0x00000006u, 0x000001f6u,
251 0x000001edu, 0x000001efu, 0x000500abu, 0x00000008u, 0x000001f2u, 0x000002c1u, 0x0000000eu, 0x000500a7u, 251 0x00000001u, 0x00000026u, 0x000003abu, 0x000001f5u, 0x00050086u, 0x00000006u, 0x000001fcu, 0x000001f5u,
252 0x00000008u, 0x000001f3u, 0x000001f0u, 0x000001f2u, 0x000300f7u, 0x000001f5u, 0x00000000u, 0x000400fau, 252 0x000001f6u, 0x0007000cu, 0x00000006u, 0x000001fdu, 0x00000001u, 0x00000026u, 0x000003aau, 0x000001fcu,
253 0x000001f3u, 0x000001f4u, 0x000001f5u, 0x000200f8u, 0x000001f4u, 0x000500acu, 0x00000008u, 0x000001f8u, 253 0x000200f9u, 0x000001eeu, 0x000200f8u, 0x000001eeu, 0x000700f5u, 0x00000006u, 0x000002fau, 0x000003aau,
254 0x000002bfu, 0x000001f7u, 0x000400a8u, 0x00000008u, 0x000001f9u, 0x000001f8u, 0x000300f7u, 0x000001fbu, 254 0x000001d1u, 0x000001fdu, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f9u, 0x000003abu, 0x000001d1u,
255 0x00000000u, 0x000400fau, 0x000001f9u, 0x000001fau, 0x000001fbu, 0x000200f8u, 0x000001fau, 0x00050086u, 255 0x000001f6u, 0x000001edu, 0x000700f5u, 0x00000006u, 0x000002f8u, 0x000001bcu, 0x000001d1u, 0x000001f1u,
256 0x00000006u, 0x000001feu, 0x000001f7u, 0x000002bfu, 0x000500acu, 0x00000008u, 0x000001ffu, 0x000002c0u, 256 0x000001edu, 0x000500abu, 0x00000008u, 0x000001ffu, 0x000002f8u, 0x0000000eu, 0x000500abu, 0x00000008u,
257 0x000001feu, 0x000200f9u, 0x000001fbu, 0x000200f8u, 0x000001fbu, 0x000700f5u, 0x00000008u, 0x00000200u, 257 0x00000201u, 0x000002f9u, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000202u, 0x000001ffu, 0x00000201u,
258 0x000001f8u, 0x000001f4u, 0x000001ffu, 0x000001fau, 0x000400a8u, 0x00000008u, 0x00000201u, 0x00000200u, 258 0x000500abu, 0x00000008u, 0x00000204u, 0x000002fau, 0x0000000eu, 0x000500a7u, 0x00000008u, 0x00000205u,
259 0x000300f7u, 0x00000203u, 0x00000000u, 0x000400fau, 0x00000201u, 0x00000202u, 0x00000203u, 0x000200f8u, 259 0x00000202u, 0x00000204u, 0x000300f7u, 0x00000207u, 0x00000000u, 0x000400fau, 0x00000205u, 0x00000206u,
260 0x00000202u, 0x00050086u, 0x00000006u, 0x00000206u, 0x000001f7u, 0x000002bfu, 0x00050086u, 0x00000006u, 260 0x00000207u, 0x000200f8u, 0x00000206u, 0x000500acu, 0x00000008u, 0x0000020au, 0x000002f8u, 0x00000209u,
261 0x00000208u, 0x00000206u, 0x000002c0u, 0x000500acu, 0x00000008u, 0x00000209u, 0x000002c1u, 0x00000208u, 261 0x000400a8u, 0x00000008u, 0x0000020bu, 0x0000020au, 0x000300f7u, 0x0000020du, 0x00000000u, 0x000400fau,
262 0x000200f9u, 0x00000203u, 0x000200f8u, 0x00000203u, 0x000700f5u, 0x00000008u, 0x0000020au, 0x00000200u, 262 0x0000020bu, 0x0000020cu, 0x0000020du, 0x000200f8u, 0x0000020cu, 0x00050086u, 0x00000006u, 0x00000210u,
263 0x000001fbu, 0x00000209u, 0x00000202u, 0x000200f9u, 0x000001f5u, 0x000200f8u, 0x000001f5u, 0x000700f5u, 263 0x00000209u, 0x000002f8u, 0x000500acu, 0x00000008u, 0x00000211u, 0x000002f9u, 0x00000210u, 0x000200f9u,
264 0x00000008u, 0x0000020bu, 0x000001f3u, 0x000001dcu, 0x0000020au, 0x00000203u, 0x000600a9u, 0x00000006u, 264 0x0000020du, 0x000200f8u, 0x0000020du, 0x000700f5u, 0x00000008u, 0x00000212u, 0x0000020au, 0x00000206u,
265 0x0000034fu, 0x0000020bu, 0x0000000eu, 0x000002c1u, 0x000600a9u, 0x00000006u, 0x00000350u, 0x0000020bu, 265 0x00000211u, 0x0000020cu, 0x000400a8u, 0x00000008u, 0x00000213u, 0x00000212u, 0x000300f7u, 0x00000215u,
266 0x0000000eu, 0x000002c0u, 0x000600a9u, 0x00000006u, 0x00000351u, 0x0000020bu, 0x0000000eu, 0x000002bfu, 266 0x00000000u, 0x000400fau, 0x00000213u, 0x00000214u, 0x00000215u, 0x000200f8u, 0x00000214u, 0x00050086u,
267 0x000500abu, 0x00000008u, 0x00000210u, 0x00000351u, 0x00000173u, 0x000500abu, 0x00000008u, 0x00000213u, 267 0x00000006u, 0x00000218u, 0x00000209u, 0x000002f8u, 0x00050086u, 0x00000006u, 0x0000021au, 0x00000218u,
268 0x00000350u, 0x0000017au, 0x000500a6u, 0x00000008u, 0x00000214u, 0x00000210u, 0x00000213u, 0x000500abu, 268 0x000002f9u, 0x000500acu, 0x00000008u, 0x0000021bu, 0x000002fau, 0x0000021au, 0x000200f9u, 0x00000215u,
269 0x00000008u, 0x00000217u, 0x0000034fu, 0x00000181u, 0x000500a6u, 0x00000008u, 0x00000218u, 0x00000214u, 269 0x000200f8u, 0x00000215u, 0x000700f5u, 0x00000008u, 0x0000021cu, 0x00000212u, 0x0000020du, 0x0000021bu,
270 0x00000217u, 0x000600a9u, 0x00000006u, 0x00000219u, 0x00000218u, 0x0000002fu, 0x0000000eu, 0x00050084u, 270 0x00000214u, 0x000200f9u, 0x00000207u, 0x000200f8u, 0x00000207u, 0x000700f5u, 0x00000008u, 0x0000021du,
271 0x00000006u, 0x0000021cu, 0x00000351u, 0x00000350u, 0x00050084u, 0x00000006u, 0x0000021eu, 0x0000021cu, 271 0x00000205u, 0x000001eeu, 0x0000021cu, 0x00000215u, 0x000600a9u, 0x00000006u, 0x000003acu, 0x0000021du,
272 0x0000034fu, 0x000600a9u, 0x00000006u, 0x00000224u, 0x00000184u, 0x00000222u, 0x00000223u, 0x00050084u, 272 0x0000000eu, 0x000002fau, 0x000600a9u, 0x00000006u, 0x000003adu, 0x0000021du, 0x0000000eu, 0x000002f9u,
273 0x00000006u, 0x00000225u, 0x0000021eu, 0x00000224u, 0x00050041u, 0x00000007u, 0x00000227u, 0x00000116u, 273 0x000600a9u, 0x00000006u, 0x000003aeu, 0x0000021du, 0x0000000eu, 0x000002f8u, 0x000300f7u, 0x00000224u,
274 0x0000002cu, 0x0003003eu, 0x00000227u, 0x00000351u, 0x00050041u, 0x00000007u, 0x00000229u, 0x00000116u, 274 0x00000000u, 0x000400fau, 0x000001cfu, 0x00000223u, 0x00000224u, 0x000200f8u, 0x00000223u, 0x00050041u,
275 0x00000091u, 0x0003003eu, 0x00000229u, 0x00000350u, 0x00050041u, 0x00000007u, 0x0000022bu, 0x00000116u, 275 0x00000029u, 0x00000225u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000226u, 0x00000225u,
276 0x000000bcu, 0x0003003eu, 0x0000022bu, 0x0000034fu, 0x000200f9u, 0x0000011eu, 0x000200f8u, 0x0000011eu, 276 0x00060041u, 0x0000002du, 0x00000228u, 0x00000226u, 0x0000002cu, 0x00000227u, 0x000700eau, 0x00000006u,
277 0x000700f5u, 0x00000006u, 0x00000309u, 0x0000014au, 0x00000165u, 0x00000219u, 0x000001f5u, 0x000700f5u, 277 0x00000229u, 0x00000228u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x000500acu, 0x00000008u, 0x0000022bu,
278 0x00000006u, 0x000002e9u, 0x0000014du, 0x00000165u, 0x00000225u, 0x000001f5u, 0x000500abu, 0x00000008u, 278 0x000003aeu, 0x000001a8u, 0x000300f7u, 0x0000022du, 0x00000000u, 0x000400fau, 0x0000022bu, 0x0000022cu,
279 0x0000022du, 0x000002e9u, 0x0000000eu, 0x000300f7u, 0x0000022fu, 0x00000000u, 0x000400fau, 0x0000022du, 279 0x0000022du, 0x000200f8u, 0x0000022cu, 0x00060041u, 0x0000002du, 0x00000230u, 0x00000226u, 0x0000002cu,
280 0x0000022eu, 0x0000022fu, 0x000200f8u, 0x0000022eu, 0x000300f7u, 0x0000029bu, 0x00000000u, 0x000300fbu, 280 0x000001abu, 0x000700eau, 0x00000006u, 0x00000231u, 0x00000230u, 0x0000002fu, 0x0000000eu, 0x0000002fu,
281 0x0000000eu, 0x00000273u, 0x000200f8u, 0x00000273u, 0x000500aau, 0x00000008u, 0x00000275u, 0x000002e9u, 281 0x000200f9u, 0x0000022du, 0x000200f8u, 0x0000022du, 0x00060041u, 0x0000002du, 0x00000234u, 0x00000226u,
282 0x0000000eu, 0x000300f7u, 0x00000277u, 0x00000000u, 0x000400fau, 0x00000275u, 0x00000276u, 0x00000277u, 282 0x0000002cu, 0x000001aeu, 0x000700efu, 0x00000006u, 0x00000236u, 0x00000234u, 0x0000002fu, 0x0000000eu,
283 0x000200f8u, 0x00000276u, 0x000200f9u, 0x0000029bu, 0x000200f8u, 0x00000277u, 0x00050041u, 0x00000029u, 283 0x000003aeu, 0x000500abu, 0x00000008u, 0x00000239u, 0x000003aeu, 0x0000000eu, 0x000500a7u, 0x00000008u,
284 0x00000278u, 0x00000026u, 0x00000028u, 0x0004003du, 0x00000019u, 0x00000279u, 0x00000278u, 0x00060041u, 284 0x0000023au, 0x000001ddu, 0x00000239u, 0x000300f7u, 0x0000023cu, 0x00000000u, 0x000400fau, 0x0000023au,
285 0x0000002du, 0x0000027au, 0x00000279u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x0000027bu, 285 0x0000023bu, 0x0000023cu, 0x000200f8u, 0x0000023bu, 0x00060041u, 0x0000002du, 0x0000023fu, 0x00000226u,
286 0x0000027au, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x0000027cu, 0x000200f8u, 0x0000027cu, 286 0x0000002cu, 0x000001b1u, 0x000700eau, 0x00000006u, 0x00000240u, 0x0000023fu, 0x0000002fu, 0x0000000eu,
287 0x000700f5u, 0x00000006u, 0x000002ebu, 0x0000027bu, 0x00000277u, 0x00000290u, 0x00000297u, 0x000500b0u, 287 0x0000002fu, 0x000200f9u, 0x0000023cu, 0x000200f8u, 0x0000023cu, 0x000200f9u, 0x00000224u, 0x000200f8u,
288 0x00000008u, 0x0000027fu, 0x000002ebu, 0x00000037u, 0x000400f6u, 0x00000298u, 0x00000297u, 0x00000000u, 288 0x00000224u, 0x000500abu, 0x00000008u, 0x00000243u, 0x000003aeu, 0x00000173u, 0x000500abu, 0x00000008u,
289 0x000400fau, 0x0000027fu, 0x00000280u, 0x00000298u, 0x000200f8u, 0x00000280u, 0x00050082u, 0x00000006u, 289 0x00000246u, 0x000003adu, 0x0000017au, 0x000500a6u, 0x00000008u, 0x00000247u, 0x00000243u, 0x00000246u,
290 0x00000282u, 0x00000037u, 0x000002ebu, 0x000500acu, 0x00000008u, 0x00000285u, 0x000002e9u, 0x00000282u, 290 0x000500abu, 0x00000008u, 0x0000024au, 0x000003acu, 0x00000181u, 0x000500a6u, 0x00000008u, 0x0000024bu,
291 0x000300f7u, 0x00000287u, 0x00000000u, 0x000400fau, 0x00000285u, 0x00000286u, 0x00000287u, 0x000200f8u, 291 0x00000247u, 0x0000024au, 0x000600a9u, 0x00000006u, 0x0000024cu, 0x0000024bu, 0x0000002fu, 0x0000000eu,
292 0x00000286u, 0x000200f9u, 0x00000298u, 0x000200f8u, 0x00000287u, 0x00050080u, 0x00000006u, 0x0000028au, 292 0x00050084u, 0x00000006u, 0x0000024fu, 0x000003aeu, 0x000003adu, 0x00050084u, 0x00000006u, 0x00000251u,
293 0x000002ebu, 0x000002e9u, 0x000900e6u, 0x00000006u, 0x00000290u, 0x0000027au, 0x0000002fu, 0x0000000eu, 293 0x0000024fu, 0x000003acu, 0x000600a9u, 0x00000006u, 0x00000257u, 0x00000184u, 0x00000255u, 0x00000256u,
294 0x0000000eu, 0x0000028au, 0x000002ebu, 0x000500aau, 0x00000008u, 0x00000293u, 0x00000290u, 0x000002ebu, 294 0x00050084u, 0x00000006u, 0x00000258u, 0x00000251u, 0x00000257u, 0x00050041u, 0x00000007u, 0x0000025au,
295 0x000300f7u, 0x00000295u, 0x00000000u, 0x000400fau, 0x00000293u, 0x00000294u, 0x00000295u, 0x000200f8u, 295 0x00000116u, 0x0000002cu, 0x0003003eu, 0x0000025au, 0x000003aeu, 0x00050041u, 0x00000007u, 0x0000025cu,
296 0x00000294u, 0x000200f9u, 0x00000298u, 0x000200f8u, 0x00000295u, 0x000200f9u, 0x00000297u, 0x000200f8u, 296 0x00000116u, 0x00000091u, 0x0003003eu, 0x0000025cu, 0x000003adu, 0x00050041u, 0x00000007u, 0x0000025eu,
297 0x00000297u, 0x000200f9u, 0x0000027cu, 0x000200f8u, 0x00000298u, 0x000900f5u, 0x00000008u, 0x000002f0u, 297 0x00000116u, 0x000000bcu, 0x0003003eu, 0x0000025eu, 0x000003acu, 0x000200f9u, 0x0000011eu, 0x000200f8u,
298 0x000002fau, 0x0000027cu, 0x00000041u, 0x00000286u, 0x00000012u, 0x00000294u, 0x000900f5u, 0x00000008u, 298 0x0000011eu, 0x000700f5u, 0x00000006u, 0x0000035eu, 0x0000014au, 0x00000165u, 0x0000024cu, 0x00000224u,
299 0x000002edu, 0x00000041u, 0x0000027cu, 0x00000012u, 0x00000286u, 0x00000012u, 0x00000294u, 0x000300f7u, 299 0x000700f5u, 0x00000006u, 0x0000033au, 0x0000014du, 0x00000165u, 0x00000258u, 0x00000224u, 0x000500abu,
300 0x0000029au, 0x00000000u, 0x000400fau, 0x000002edu, 0x0000029bu, 0x0000029au, 0x000200f8u, 0x0000029au, 300 0x00000008u, 0x00000260u, 0x0000033au, 0x0000000eu, 0x000300f7u, 0x00000262u, 0x00000000u, 0x000400fau,
301 0x000200f9u, 0x0000029bu, 0x000200f8u, 0x0000029bu, 0x000900f5u, 0x00000008u, 0x000002efu, 0x00000012u, 301 0x00000260u, 0x00000261u, 0x00000262u, 0x000200f8u, 0x00000261u, 0x000300f7u, 0x000002ceu, 0x00000000u,
302 0x00000276u, 0x000002f0u, 0x00000298u, 0x00000041u, 0x0000029au, 0x000400a8u, 0x00000008u, 0x00000233u, 302 0x000300fbu, 0x0000000eu, 0x000002a6u, 0x000200f8u, 0x000002a6u, 0x000500aau, 0x00000008u, 0x000002a8u,
303 0x000002efu, 0x000200f9u, 0x0000022fu, 0x000200f8u, 0x0000022fu, 0x000700f5u, 0x00000008u, 0x00000234u, 303 0x0000033au, 0x0000000eu, 0x000300f7u, 0x000002aau, 0x00000000u, 0x000400fau, 0x000002a8u, 0x000002a9u,
304 0x0000022du, 0x0000011eu, 0x00000233u, 0x0000029bu, 0x000300f7u, 0x00000236u, 0x00000000u, 0x000400fau, 304 0x000002aau, 0x000200f8u, 0x000002a9u, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002aau, 0x00050041u,
305 0x00000234u, 0x00000235u, 0x00000236u, 0x000200f8u, 0x00000235u, 0x00050041u, 0x00000029u, 0x00000237u, 305 0x00000029u, 0x000002abu, 0x00000026u, 0x00000028u, 0x0004003du, 0x00000019u, 0x000002acu, 0x000002abu,
306 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000238u, 0x00000237u, 0x00060041u, 0x0000002du, 306 0x00060041u, 0x0000002du, 0x000002adu, 0x000002acu, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u,
307 0x00000239u, 0x00000238u, 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x0000023au, 0x00000239u, 307 0x000002aeu, 0x000002adu, 0x0000002fu, 0x0000000eu, 0x0000000eu, 0x000200f9u, 0x000002afu, 0x000200f8u,
308 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u, 0x00000236u, 308 0x000002afu, 0x000700f5u, 0x00000006u, 0x0000033cu, 0x000002aeu, 0x000002aau, 0x000002c3u, 0x000002cau,
309 0x000200f8u, 0x00000236u, 0x000600a9u, 0x00000006u, 0x00000352u, 0x00000234u, 0x0000002fu, 0x00000309u, 309 0x000500b0u, 0x00000008u, 0x000002b2u, 0x0000033cu, 0x00000037u, 0x000400f6u, 0x000002cbu, 0x000002cau,
310 0x000500abu, 0x00000008u, 0x0000023cu, 0x00000352u, 0x0000000eu, 0x000300f7u, 0x0000023eu, 0x00000000u, 310 0x00000000u, 0x000400fau, 0x000002b2u, 0x000002b3u, 0x000002cbu, 0x000200f8u, 0x000002b3u, 0x00050082u,
311 0x000400fau, 0x0000023cu, 0x0000023du, 0x0000023eu, 0x000200f8u, 0x0000023du, 0x00050041u, 0x00000029u, 311 0x00000006u, 0x000002b5u, 0x00000037u, 0x0000033cu, 0x000500acu, 0x00000008u, 0x000002b8u, 0x0000033au,
312 0x0000023fu, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000240u, 0x0000023fu, 0x00060041u, 312 0x000002b5u, 0x000300f7u, 0x000002bau, 0x00000000u, 0x000400fau, 0x000002b8u, 0x000002b9u, 0x000002bau,
313 0x0000002du, 0x00000241u, 0x00000240u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u, 0x00000242u, 313 0x000200f8u, 0x000002b9u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002bau, 0x00050080u, 0x00000006u,
314 0x00000241u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x00000243u, 0x00000116u, 314 0x000002bdu, 0x0000033cu, 0x0000033au, 0x000900e6u, 0x00000006u, 0x000002c3u, 0x000002adu, 0x0000002fu,
315 0x0000002cu, 0x0004003du, 0x00000006u, 0x00000244u, 0x00000243u, 0x000500aau, 0x00000008u, 0x00000245u, 315 0x0000000eu, 0x0000000eu, 0x000002bdu, 0x0000033cu, 0x000500aau, 0x00000008u, 0x000002c6u, 0x000002c3u,
316 0x00000244u, 0x0000000eu, 0x000300f7u, 0x00000247u, 0x00000000u, 0x000400fau, 0x00000245u, 0x00000246u, 316 0x0000033cu, 0x000300f7u, 0x000002c8u, 0x00000000u, 0x000400fau, 0x000002c6u, 0x000002c7u, 0x000002c8u,
317 0x00000247u, 0x000200f8u, 0x00000246u, 0x00060041u, 0x0000002du, 0x0000024au, 0x00000240u, 0x0000002cu, 317 0x000200f8u, 0x000002c7u, 0x000200f9u, 0x000002cbu, 0x000200f8u, 0x000002c8u, 0x000200f9u, 0x000002cau,
318 0x0000009eu, 0x000700eau, 0x00000006u, 0x0000024bu, 0x0000024au, 0x0000002fu, 0x0000000eu, 0x0000002fu, 318 0x000200f8u, 0x000002cau, 0x000200f9u, 0x000002afu, 0x000200f8u, 0x000002cbu, 0x000900f5u, 0x00000008u,
319 0x000200f9u, 0x00000247u, 0x000200f8u, 0x00000247u, 0x000200f9u, 0x0000023eu, 0x000200f8u, 0x0000023eu, 319 0x00000341u, 0x0000034bu, 0x000002afu, 0x00000041u, 0x000002b9u, 0x00000012u, 0x000002c7u, 0x000900f5u,
320 0x000200f9u, 0x0000024du, 0x000200f8u, 0x0000024du, 0x000700f5u, 0x00000006u, 0x0000030eu, 0x0000000eu, 320 0x00000008u, 0x0000033eu, 0x00000041u, 0x000002afu, 0x00000012u, 0x000002b9u, 0x00000012u, 0x000002c7u,
321 0x0000023eu, 0x0000025fu, 0x0000024eu, 0x000500b0u, 0x00000008u, 0x00000254u, 0x0000030eu, 0x0000029du, 321 0x000300f7u, 0x000002cdu, 0x00000000u, 0x000400fau, 0x0000033eu, 0x000002ceu, 0x000002cdu, 0x000200f8u,
322 0x000400f6u, 0x0000024fu, 0x0000024eu, 0x00000000u, 0x000400fau, 0x00000254u, 0x0000024eu, 0x0000024fu, 322 0x000002cdu, 0x000200f9u, 0x000002ceu, 0x000200f8u, 0x000002ceu, 0x000900f5u, 0x00000008u, 0x00000340u,
323 0x000200f8u, 0x0000024eu, 0x00050041u, 0x000000bdu, 0x00000255u, 0x00000026u, 0x000000bcu, 0x0004003du, 323 0x00000012u, 0x000002a9u, 0x00000341u, 0x000002cbu, 0x00000041u, 0x000002cdu, 0x000400a8u, 0x00000008u,
324 0x00000017u, 0x00000256u, 0x00000255u, 0x00050080u, 0x00000006u, 0x00000259u, 0x00000081u, 0x0000030eu, 324 0x00000266u, 0x00000340u, 0x000200f9u, 0x00000262u, 0x000200f8u, 0x00000262u, 0x000700f5u, 0x00000008u,
325 0x00050041u, 0x00000007u, 0x0000025bu, 0x00000116u, 0x0000030eu, 0x0004003du, 0x00000006u, 0x0000025cu, 325 0x00000267u, 0x00000260u, 0x0000011eu, 0x00000266u, 0x000002ceu, 0x000300f7u, 0x00000269u, 0x00000000u,
326 0x0000025bu, 0x00060041u, 0x0000002du, 0x0000025du, 0x00000256u, 0x0000002cu, 0x00000259u, 0x0005003eu, 326 0x000400fau, 0x00000267u, 0x00000268u, 0x00000269u, 0x000200f8u, 0x00000268u, 0x00050041u, 0x00000029u,
327 0x0000025du, 0x0000025cu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x0000025fu, 0x0000030eu, 327 0x0000026au, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x0000026bu, 0x0000026au, 0x00060041u,
328 0x00000091u, 0x000200f9u, 0x0000024du, 0x000200f8u, 0x0000024fu, 0x000200f9u, 0x00000261u, 0x000200f8u, 328 0x0000002du, 0x0000026cu, 0x0000026bu, 0x0000002cu, 0x000000bcu, 0x000700eau, 0x00000006u, 0x0000026du,
329 0x00000261u, 0x000100fdu, 0x00010038u, 329 0x0000026cu, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x0003003eu, 0x00000116u, 0x00000117u, 0x000200f9u,
330 0x00000269u, 0x000200f8u, 0x00000269u, 0x000600a9u, 0x00000006u, 0x000003afu, 0x00000267u, 0x0000002fu,
331 0x0000035eu, 0x000500abu, 0x00000008u, 0x0000026fu, 0x000003afu, 0x0000000eu, 0x000300f7u, 0x00000271u,
332 0x00000000u, 0x000400fau, 0x0000026fu, 0x00000270u, 0x00000271u, 0x000200f8u, 0x00000270u, 0x00050041u,
333 0x00000029u, 0x00000272u, 0x00000026u, 0x000000a9u, 0x0004003du, 0x00000019u, 0x00000273u, 0x00000272u,
334 0x00060041u, 0x0000002du, 0x00000274u, 0x00000273u, 0x0000002cu, 0x0000002cu, 0x000700eau, 0x00000006u,
335 0x00000275u, 0x00000274u, 0x0000002fu, 0x0000000eu, 0x0000002fu, 0x00050041u, 0x00000007u, 0x00000276u,
336 0x00000116u, 0x0000002cu, 0x0004003du, 0x00000006u, 0x00000277u, 0x00000276u, 0x000500aau, 0x00000008u,
337 0x00000278u, 0x00000277u, 0x0000000eu, 0x000300f7u, 0x0000027au, 0x00000000u, 0x000400fau, 0x00000278u,
338 0x00000279u, 0x0000027au, 0x000200f8u, 0x00000279u, 0x00060041u, 0x0000002du, 0x0000027du, 0x00000273u,
339 0x0000002cu, 0x0000009eu, 0x000700eau, 0x00000006u, 0x0000027eu, 0x0000027du, 0x0000002fu, 0x0000000eu,
340 0x0000002fu, 0x000200f9u, 0x0000027au, 0x000200f8u, 0x0000027au, 0x000200f9u, 0x00000271u, 0x000200f8u,
341 0x00000271u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000280u, 0x000700f5u, 0x00000006u, 0x00000363u,
342 0x0000000eu, 0x00000271u, 0x00000292u, 0x00000281u, 0x000500b0u, 0x00000008u, 0x00000287u, 0x00000363u,
343 0x000002d0u, 0x000400f6u, 0x00000282u, 0x00000281u, 0x00000000u, 0x000400fau, 0x00000287u, 0x00000281u,
344 0x00000282u, 0x000200f8u, 0x00000281u, 0x00050041u, 0x000000bdu, 0x00000288u, 0x00000026u, 0x000000bcu,
345 0x0004003du, 0x00000017u, 0x00000289u, 0x00000288u, 0x00050080u, 0x00000006u, 0x0000028cu, 0x00000081u,
346 0x00000363u, 0x00050041u, 0x00000007u, 0x0000028eu, 0x00000116u, 0x00000363u, 0x0004003du, 0x00000006u,
347 0x0000028fu, 0x0000028eu, 0x00060041u, 0x0000002du, 0x00000290u, 0x00000289u, 0x0000002cu, 0x0000028cu,
348 0x0005003eu, 0x00000290u, 0x0000028fu, 0x00000002u, 0x00000004u, 0x00050080u, 0x00000006u, 0x00000292u,
349 0x00000363u, 0x00000091u, 0x000200f9u, 0x00000280u, 0x000200f8u, 0x00000282u, 0x000200f9u, 0x00000294u,
350 0x000200f8u, 0x00000294u, 0x000100fdu, 0x00010038u,
330}; 351};
331} // namespace leonida 352} // namespace leonida
diff --git a/runtime/src/vulkan_indirect_clamp.h b/runtime/src/vulkan_indirect_clamp.h
index 556386015..fcf5cd76b 100644
--- a/runtime/src/vulkan_indirect_clamp.h
+++ b/runtime/src/vulkan_indirect_clamp.h
@@ -70,6 +70,8 @@ inline constexpr std::uint32_t indirect_clamp_max_vertex_instances = 1u << 26;
70// (indirect_clamp_dispatch_limit), which on NVIDIA, for one, is far above Vulkan's guaranteed 65 535 in x. 70// (indirect_clamp_dispatch_limit), which on NVIDIA, for one, is far above Vulkan's guaranteed 65 535 in x.
71inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u; 71inline constexpr std::uint32_t indirect_clamp_max_group_dimension = 65535u;
72inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20; 72inline constexpr std::uint32_t indirect_clamp_max_groups = 1u << 20;
73// The x a dispatch record was cut at before the device's limit applied, which the dispatch counters compare with.
74inline constexpr std::uint32_t indirect_clamp_narrow_groups = 65535u;
73inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27; 75inline constexpr std::uint32_t indirect_clamp_budget = 1u << 27;
74 76
75// What the pass lets a dispatch record ask for in x, y and z: the device's own maxComputeWorkGroupCount. A fixed 77// What the pass lets a dispatch record ask for in x, y and z: the device's own maxComputeWorkGroupCount. A fixed
@@ -182,6 +184,12 @@ public:
182 std::uint64_t mesh_yz_records = 0; 184 std::uint64_t mesh_yz_records = 0;
183 std::uint32_t mesh_max_y = 0; 185 std::uint32_t mesh_max_y = 0;
184 std::uint32_t mesh_max_z = 0; 186 std::uint32_t mesh_max_z = 0;
187 // Dispatch records after the clamp: all of them, those that run wider than 65 535 groups in x (the old cut),
188 // the widest x that runs, and those cut at the device's own limits.
189 std::uint64_t dispatch_records = 0;
190 std::uint64_t dispatch_wide = 0;
191 std::uint32_t dispatch_widest = 0;
192 std::uint64_t dispatch_cut = 0;
185 }; 193 };
186 194
187 // One submission's clamp state: the counter slots its calls claimed, read and released together once that 195 // One submission's clamp state: the counter slots its calls claimed, read and released together once that
@@ -247,7 +255,7 @@ private:
247 VkDeviceMemory memory = VK_NULL_HANDLE; 255 VkDeviceMemory memory = VK_NULL_HANDLE;
248 std::uint8_t* host = nullptr; 256 std::uint8_t* host = nullptr;
249 std::uint32_t slots = 0; 257 std::uint32_t slots = 0;
250 static constexpr std::uint32_t slot_bytes = 64; // 48 bytes of counters (words 4-7 unused), 16 of padding 258 static constexpr std::uint32_t slot_bytes = 64; // 16 words of counters (words 4-7 unused)
251 }; 259 };
252 static constexpr std::uint32_t slots_per_area = 64; 260 static constexpr std::uint32_t slots_per_area = 64;
253 // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the 261 // 4,096 slots (128 KiB of host memory): enough for a submission's ExecuteIndirect calls after the load, and the
@@ -280,6 +288,7 @@ private:
280 Counters counters_{}; 288 Counters counters_{};
281 std::uint64_t next_report_frame_ = 0; 289 std::uint64_t next_report_frame_ = 0;
282 std::chrono::steady_clock::time_point next_mesh_report_{}; 290 std::chrono::steady_clock::time_point next_mesh_report_{};
291 std::chrono::steady_clock::time_point next_dispatch_report_{};
283}; 292};
284 293
285namespace detail { 294namespace detail {
@@ -470,6 +479,10 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read)
470 delta.mesh_yz_records += words[9]; 479 delta.mesh_yz_records += words[9];
471 delta.mesh_max_y = std::max(delta.mesh_max_y, words[10]); 480 delta.mesh_max_y = std::max(delta.mesh_max_y, words[10]);
472 delta.mesh_max_z = std::max(delta.mesh_max_z, words[11]); 481 delta.mesh_max_z = std::max(delta.mesh_max_z, words[11]);
482 delta.dispatch_wide += words[12];
483 delta.dispatch_widest = std::max(delta.dispatch_widest, words[13]);
484 delta.dispatch_cut += words[14];
485 delta.dispatch_records += words[15];
473 // Clear after reading so a later aborted batch that reuses this slot without submitting never 486 // Clear after reading so a later aborted batch that reuses this slot without submitting never
474 // double-counts a previous submission's counters. 487 // double-counts a previous submission's counters.
475 std::memset(words, 0, HostArea::slot_bytes); 488 std::memset(words, 0, HostArea::slot_bytes);
@@ -484,6 +497,10 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read)
484 counters_.mesh_yz_records += delta.mesh_yz_records; 497 counters_.mesh_yz_records += delta.mesh_yz_records;
485 counters_.mesh_max_y = std::max(counters_.mesh_max_y, delta.mesh_max_y); 498 counters_.mesh_max_y = std::max(counters_.mesh_max_y, delta.mesh_max_y);
486 counters_.mesh_max_z = std::max(counters_.mesh_max_z, delta.mesh_max_z); 499 counters_.mesh_max_z = std::max(counters_.mesh_max_z, delta.mesh_max_z);
500 counters_.dispatch_records += delta.dispatch_records;
501 counters_.dispatch_wide += delta.dispatch_wide;
502 counters_.dispatch_widest = std::max(counters_.dispatch_widest, delta.dispatch_widest);
503 counters_.dispatch_cut += delta.dispatch_cut;
487 // One line every 10 s while mesh records are clamped: does the console's mesh dispatch use y or z? 504 // One line every 10 s while mesh records are clamped: does the console's mesh dispatch use y or z?
488 const auto now = std::chrono::steady_clock::now(); 505 const auto now = std::chrono::steady_clock::now();
489 if (read && counters_.mesh_records && now >= next_mesh_report_) { 506 if (read && counters_.mesh_records && now >= next_mesh_report_) {
@@ -494,6 +511,18 @@ inline void IndirectArgumentClamp::release(std::vector<Slot>& slots, bool read)
494 static_cast<unsigned long long>(counters_.mesh_yz_records), counters_.mesh_max_y, 511 static_cast<unsigned long long>(counters_.mesh_yz_records), counters_.mesh_max_y,
495 counters_.mesh_max_z); 512 counters_.mesh_max_z);
496 } 513 }
514 // One line every 10 s while dispatch records are clamped: how wide the title's dispatches are, and whether
515 // the device's limits cut any (a device whose x limit is 65 535 still cuts a wider record).
516 if (read && counters_.dispatch_records && now >= next_dispatch_report_) {
517 next_dispatch_report_ = now + std::chrono::seconds(10);
518 std::fprintf(stderr, "[rt] indirect clamp dispatch: %llu records, %llu wider than %u groups in x, widest x %u, "
519 "%llu cut at the device's limits (%u x %u x %u)\n",
520 static_cast<unsigned long long>(counters_.dispatch_records),
521 static_cast<unsigned long long>(counters_.dispatch_wide), indirect_clamp_narrow_groups,
522 counters_.dispatch_widest, static_cast<unsigned long long>(counters_.dispatch_cut),
523 indirect_clamp_dispatch_limit(limits_, 0), indirect_clamp_dispatch_limit(limits_, 1),
524 indirect_clamp_dispatch_limit(limits_, 2));
525 }
497 const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed); 526 const auto frame = submit_phases::totals().present_serial.load(std::memory_order_relaxed);
498 if (read && calls && frame >= next_report_frame_) { 527 if (read && calls && frame >= next_report_frame_) {
499 next_report_frame_ = frame + 60; 528 next_report_frame_ = frame + 60;
@@ -606,7 +635,8 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec
606 // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A 635 // The counters start at zero: the budget's compare-and-swap and the record counts accumulate into them. A
607 // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes. 636 // transfer write, ordered to the compute stage by the barrier below, like the arguments' own writes.
608 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0); 637 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset, job.list_budget == job.stats + 16 ? 20 : 16, 0);
609 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset + 32, 16, 0); // mesh words 8-11 638 // Words 8-15: the mesh and dispatch counters.
639 fn<PFN_vkCmdFillBuffer>("vkCmdFillBuffer")(cb, job.buffer, job.stats_scratch_offset + 32, 32, 0);
610 VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; 640 VkMemoryBarrier before{VK_STRUCTURE_TYPE_MEMORY_BARRIER};
611 before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments 641 before.srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT; // every earlier write: the compute that wrote these arguments
612 before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; 642 before.dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT;
@@ -649,7 +679,7 @@ inline void IndirectArgumentClamp::emit(VkCommandBuffer cb, const ClampedIndirec
649 after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; 679 after_copy.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT;
650 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr, 680 barrier(cb, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &after_copy, 0, nullptr,
651 0, nullptr); 681 0, nullptr);
652 VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 12 * sizeof(std::uint32_t)}; 682 VkBufferCopy copy{job.stats_scratch_offset, job.stats_offset, 16 * sizeof(std::uint32_t)};
653 fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, &copy); 683 fn<PFN_vkCmdCopyBuffer>("vkCmdCopyBuffer")(cb, job.buffer, job.stats_buffer, 1, &copy);
654 } 684 }
655 // The indirect command reads the records, and nothing else may read them while it does. 685 // The indirect command reads the records, and nothing else may read them while it does.