diff --git a/runtime/astc_probe.c b/runtime/astc_probe.c index db8ad860..a90c1033 100644 --- a/runtime/astc_probe.c +++ b/runtime/astc_probe.c @@ -5,6 +5,8 @@ // modes among them). Each case decodes two regions into two mip levels of an RGBA8 image with cropped edges, and // compares both the decoder's texels (readback) and what the image holds afterwards. The same regions also go through // the BC3 encoder (NX2NAVI_ASTC_BC) into a BC3 image, whose blocks are decoded here and held to error bounds (bc_check). +// Then cut-out foliage at every footprint (cutout_case): full mip chains of transparent and opaque patches with sharp +// alpha edges, through the encoder, where alpha 0 and 255 must stay exact and alpha tests keep their outline (cut_check). // Also times one 2048x2048 texture on the CPU (astc_decode_ldr_mt) and on the GPU (wall time of the upload batch). #include #include @@ -151,32 +153,42 @@ static int gpu_decode(VkCtx *c, const uint8_t *blk, size_t n0, size_t n1, uint32 return ok; } -// The same two regions decoded and encoded to BC3 (NX2NAVI_ASTC_BC) into a BC3 image; out: its blocks read back, level 0 -// then level 1, rows of 4x4 blocks. 0 on a Vulkan failure or when nothing was recorded. -static int gpu_bc(VkCtx *c, const uint8_t *blk, size_t n0, size_t n1, uint32_t w0, uint32_t h0, uint32_t w1, uint32_t h1, +enum { MAX_LEVELS = 13 }; // a mip chain of up to 4096 texels a side +static size_t bc_bytes(uint32_t w, uint32_t h) { return (size_t)((w + 3) / 4) * ((h + 3) / 4) * 16; } + +// Mip levels 0 .. levels-1 (w[i] x h[i] texels from the n[i] blocks that follow the previous level's in blk) decoded and +// encoded to BC3 (NX2NAVI_ASTC_BC) by one vk_astc_record call into a BC3 image; out: its blocks read back level after +// level, rows of 4x4 blocks. 0 on a Vulkan failure or when nothing was recorded. +static int gpu_bc(VkCtx *c, const uint8_t *blk, const size_t *n, const uint32_t *w, const uint32_t *h, int levels, uint32_t bw, uint32_t bh, int srgb, uint8_t *out) { Img im; - if (!make_image(c, w0, h0, 2, srgb ? VK_FORMAT_BC3_SRGB_BLOCK : VK_FORMAT_BC3_UNORM_BLOCK, &im)) return 0; - size_t b0 = (size_t)((w0 + 3) / 4) * ((h0 + 3) / 4) * 16, b1 = (size_t)((w1 + 3) / 4) * ((h1 + 3) / 4) * 16; + if (levels > MAX_LEVELS || + !make_image(c, w[0], h[0], (uint32_t)levels, srgb ? VK_FORMAT_BC3_SRGB_BLOCK : VK_FORMAT_BC3_UNORM_BLOCK, &im)) + return 0; + VkAstcRegion ar[MAX_LEVELS]; + VkBufferImageCopy cp[MAX_LEVELS]; + size_t nb = 0, ob = 0; + for (int i = 0; i < levels; i++) { + ar[i] = (VkAstcRegion){.src = nb * 16, .w = w[i], .h = h[i], .slices = 1, .level = (uint32_t)i}; + cp[i] = (VkBufferImageCopy){.bufferOffset = ob, .imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, (uint32_t)i, 0, 1}, + .imageExtent = {w[i], h[i], 1}}; + nb += n[i], ob += bc_bytes(w[i], h[i]); + } VkCommandBuffer cb = vk_upload_begin(); VkBuffer sb, ib; VmaAllocation ia; - uint8_t *stg = vk_staging((n0 + n1) * 16, &sb, NULL), *imap = vk_staging(b0 + b1, &ib, &ia); - memcpy(stg, blk, (n0 + n1) * 16); + uint8_t *stg = vk_staging(nb * 16, &sb, NULL), *imap = vk_staging(ob, &ib, &ia); + memcpy(stg, blk, nb * 16); to_general(cb, im.img); - VkAstcRegion ar[2] = {{.src = 0, .w = w0, .h = h0, .slices = 1, .level = 0}, - {.src = n0 * 16, .w = w1, .h = h1, .slices = 1, .level = 1}}; barrier(cb, ALL_RW, VK_PIPELINE_STAGE_2_COPY_BIT, VK_ACCESS_2_TRANSFER_WRITE_BIT); - int ok = vk_astc_record(cb, sb, (n0 + n1) * 16, ar, 2, bw, bh, srgb, 1, im.img, VK_IMAGE_ASPECT_COLOR_BIT, VK_NULL_HANDLE); + int ok = vk_astc_record(cb, sb, nb * 16, ar, levels, bw, bh, srgb, 1, im.img, VK_IMAGE_ASPECT_COLOR_BIT, VK_NULL_HANDLE); barrier(cb, VK_PIPELINE_STAGE_2_COPY_BIT, VK_ACCESS_2_TRANSFER_WRITE_BIT, ALL_RW); - VkBufferImageCopy cp[2] = {{.bufferOffset = 0, .imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0, 1}, .imageExtent = {w0, h0, 1}}, - {.bufferOffset = b0, .imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, 1, 0, 1}, .imageExtent = {w1, h1, 1}}}; - vkCmdCopyImageToBuffer(cb, im.img, VK_IMAGE_LAYOUT_GENERAL, ib, 2, cp); + vkCmdCopyImageToBuffer(cb, im.img, VK_IMAGE_LAYOUT_GENERAL, ib, (uint32_t)levels, cp); barrier(cb, VK_PIPELINE_STAGE_2_COPY_BIT, VK_ACCESS_2_TRANSFER_WRITE_BIT, VK_PIPELINE_STAGE_2_HOST_BIT, VK_ACCESS_2_HOST_READ_BIT); vk_upload_end(); vk_upload_flush(1); vmaInvalidateAllocation(c->vma, ia, 0, VK_WHOLE_SIZE); - memcpy(out, imap, b0 + b1); + memcpy(out, imap, ob); vmaDestroyBuffer(c->vma, ib, ia); vk_defer_image(im.img, im.alloc); vk_upload_flush(1); @@ -306,12 +318,14 @@ static int test_case(VkCtx *c, uint32_t bw, uint32_t bh, int srgb) { } } if (!bad && vk_astc_bc()) { - size_t b0 = (size_t)((w0 + 3) / 4) * ((h0 + 3) / 4) * 16, b1 = (size_t)((w1 + 3) / 4) * ((h1 + 3) / 4) * 16; + size_t b0 = bc_bytes(w0, h0), b1 = bc_bytes(w1, h1); uint8_t *bc = malloc(b0 + b1); char what[2][48]; double db[2] = {0, 0}; for (int lv = 0; lv < 2; lv++) snprintf(what[lv], sizeof what[lv], "%ux%u %s level %d", bw, bh, srgb ? "sRGB" : "linear", lv); - if (!gpu_bc(c, blk, n0, n1, w0, h0, w1, h1, bw, bh, srgb, bc)) { + size_t nn[2] = {n0, n1}; + uint32_t ww[2] = {w0, w1}, hh[2] = {h0, h1}; + if (!gpu_bc(c, blk, nn, ww, hh, 2, bw, bh, srgb, bc)) { printf("probe-astc: FAIL BC3 %s: the encode was not recorded\n", what[0]); bad = 1; } @@ -326,6 +340,149 @@ static int test_case(VkCtx *c, uint32_t bw, uint32_t bh, int srgb) { return bad; } +// ---- cut-outs: alpha-tested foliage through the BC3 encoder +// Mip chains whose ASTC blocks are, by a hash of their place, fully transparent (alpha 0 over whatever colour, as an +// encoder leaves the colour under a cut-out), fully opaque leaf green, or a block whose alpha jumps from transparent to +// opaque between two neighbouring texels. The edges between blocks lie on the footprint's grid, so along a side of 5, 6 +// or 10 texels they cut through BC3's 4x4 blocks at every offset; the levels shrink to odd sizes down to 1x1. +enum { SHARP_POOL = 96 }; +static uint64_t g_cut_cases, g_cut_texels, g_cut_edges, g_cut_sharp; +static double g_cut_db = 99; // the lowest BC3 PSNR of the cut-out levels + +// Valid blocks (not void extents) whose alpha runs from at most 16 to at least 240 with a step of 192 or more between +// two neighbouring texels; the number found, up to SHARP_POOL. +static size_t sharp_blocks(uint8_t *pool, uint32_t bw, uint32_t bh) { + uint8_t t[12 * 12 * 4]; + size_t k = 0; + for (int tries = 0; tries < 400000 && k < SHARP_POOL; tries++) { + uint64_t v[2] = {rnd64(), rnd64()}; + if ((v[0] & 0x1FF) == 0x1FC || !astc_decode_block((uint8_t *)v, bw, bh, false, t)) continue; + int lo = 255, hi = 0, step = 0; + for (uint32_t y = 0; y < bh; y++) + for (uint32_t x = 0; x < bw; x++) { + int a = t[4 * (y * bw + x) + 3]; + lo = a < lo ? a : lo, hi = a > hi ? a : hi; + if ((x && abs(a - t[4 * (y * bw + x - 1) + 3]) >= 192) || (y && abs(a - t[4 * ((y - 1) * bw + x) + 3]) >= 192)) + step = 1; + } + if (lo <= 16 && hi >= 240 && step) memcpy(pool + 16 * k++, v, 16); + } + return k; +} + +// A void-extent block of one colour (UNORM16 channels, the 8-bit value in both bytes). +static void void_rgba(uint8_t b[16], const uint8_t c[4]) { + uint64_t lo = 0x1FC | 3ull << 10 | 0x1FFFull << 12 | 0x1FFFull << 25 | 0x1FFFull << 38 | 0x1FFFull << 51, hi = 0; + for (int ch = 0; ch < 4; ch++) hi |= (uint64_t)(c[ch] * 257u) << 16 * ch; + memcpy(b, &lo, 8), memcpy(b + 8, &hi, 8); +} + +// The n blocks of one level, bx to a row: opaque and transparent in patches of 2x2 blocks, one block in five from the +// sharp-edged pool. +static void cut_blocks(uint8_t *blk, size_t n, uint32_t bx, int level, const uint8_t *pool, size_t npool) { + for (size_t k = 0; k < n; k++) { + uint32_t x = (uint32_t)(k % bx), y = (uint32_t)(k / bx); + uint64_t patch = ((x >> 1) * 0x9E3779B1ull ^ (y >> 1) * 0x85EBCA77ull ^ (uint64_t)level * 0xC2B2AE3Dull) * 0x27D4EB2F165667C5ull; + uint64_t own = (x * 0xC2B2AE3Dull ^ y * 0x9E3779B1ull ^ (uint64_t)level) * 0x165667B19E3779F9ull; + patch ^= patch >> 29, own ^= own >> 31; + if (own % 5 == 0) { + memcpy(blk + 16 * k, pool + 16 * (own / 5 % npool), 16); + continue; + } + uint64_t r = rnd64(); + uint8_t col[4] = {(uint8_t)r, (uint8_t)(r >> 8), (uint8_t)(r >> 16), 0}; // transparent: any colour + if (patch % 2) + col[0] = (uint8_t)(40 + r % 60), col[1] = (uint8_t)(120 + (r >> 8) % 80), col[2] = (uint8_t)(20 + (r >> 16) % 40), + col[3] = 255; + void_rgba(blk + 16 * k, col); + } +} + +// What an alpha test sees of the cut-outs. A texel the ASTC image holds fully transparent or fully opaque stays +// exactly 0 or 255 (a BC3 alpha block's endpoints are its 4x4 block's least and greatest alpha), and every texel keeps +// its side of an alpha test at a quarter, a half and three quarters unless it lies within the block's alpha step of +// the threshold. *edges: the 4x4 blocks whose alpha runs from at most 16 to at least 240. +static int cut_check(const uint8_t *want, const uint8_t *blocks, uint32_t w, uint32_t h, const char *what, uint64_t *edges) { + static const int thr[3] = {64, 128, 192}; + uint32_t bx = (w + 3) / 4, by = (h + 3) / 4; + for (uint32_t y4 = 0; y4 < by; y4++) + for (uint32_t x4 = 0; x4 < bx; x4++) { + uint8_t t[16][4], ep[2][3]; + int pos[16], lo = 255, hi = 0; + bc3_decode(blocks + 16 * ((size_t)y4 * bx + x4), t, ep, pos); + for (int pass = 0; pass < 2; pass++) + for (int i = 0; i < 16; i++) { + uint32_t x = x4 * 4 + (i & 3), y = y4 * 4 + (i >> 2); + if (x >= w || y >= h) continue; + int a = want[4 * ((size_t)y * w + x) + 3], b = t[i][3]; + if (!pass) { + lo = a < lo ? a : lo, hi = a > hi ? a : hi; + continue; + } + int margin = (hi - lo) / 14 + 1; // bc_check's alpha bound + if ((a == 0 || a == 255) && b != a) { + printf("probe-astc: FAIL BC3 cut-out %s: texel (%u,%u) alpha %d came out %d\n", what, x, y, a, b); + return 1; + } + for (int k = 0; k < 3; k++) + if (abs(a - thr[k]) > margin && (a >= thr[k]) != (b >= thr[k])) { + printf("probe-astc: FAIL BC3 cut-out %s: texel (%u,%u) alpha %d came out %d, across an alpha " + "test at %d (block alpha %d..%d)\n", what, x, y, a, b, thr[k], lo, hi); + return 1; + } + } + *edges += lo <= 16 && hi >= 240; + } + return 0; +} + +// One cut-out mip chain of w0 x h0 texels at footprint bw x bh: every level held to bc_check's bounds and cut_check. +static int cutout_case(VkCtx *c, uint32_t bw, uint32_t bh, int srgb, uint32_t w0, uint32_t h0) { + uint8_t pool[SHARP_POOL * 16]; + size_t npool = sharp_blocks(pool, bw, bh); + char what[64]; + snprintf(what, sizeof what, "%ux%u %s %ux%u", bw, bh, srgb ? "sRGB" : "linear", w0, h0); + if (npool < 8) { + printf("probe-astc: FAIL BC3 cut-out %s: only %zu blocks with a sharp alpha edge were generated\n", what, npool); + return 1; + } + int levels = 1; + for (uint32_t s = w0 > h0 ? w0 : h0; s > 1; s >>= 1) levels++; + if (levels > MAX_LEVELS) levels = MAX_LEVELS; + size_t n[MAX_LEVELS], nb = 0, nt = 0, nbc = 0; + uint32_t w[MAX_LEVELS], h[MAX_LEVELS]; + for (int i = 0; i < levels; i++) { + w[i] = w0 >> i ? w0 >> i : 1, h[i] = h0 >> i ? h0 >> i : 1; + n[i] = (size_t)((w[i] + bw - 1) / bw) * ((h[i] + bh - 1) / bh); + nb += n[i], nt += (size_t)w[i] * h[i], nbc += bc_bytes(w[i], h[i]); + } + uint8_t *blk = malloc(nb * 16), *want = malloc(nt * 4), *bc = malloc(nbc); + if (!blk || !want || !bc) { printf("probe-astc: FAIL out of memory\n"); return 1; } + size_t ob = 0, ot = 0; + for (int i = 0; i < levels; ob += n[i], ot += (size_t)w[i] * h[i], i++) { + cut_blocks(blk + ob * 16, n[i], (w[i] + bw - 1) / bw, i, pool, npool); + astc_decode_ldr(blk + ob * 16, w[i], h[i], bw, bh, srgb, want + ot * 4); + } + int bad = !gpu_bc(c, blk, n, w, h, levels, bw, bh, srgb, bc); + if (bad) printf("probe-astc: FAIL BC3 cut-out %s: the encode was not recorded\n", what); + uint64_t edges = 0; + ot = ob = 0; + for (int i = 0; i < levels && !bad; ot += (size_t)w[i] * h[i], ob += bc_bytes(w[i], h[i]), i++) { + char lv[80]; + double db = 99; + snprintf(lv, sizeof lv, "%s level %d (%ux%u)", what, i, w[i], h[i]); + bad = bc_check(want + ot * 4, bc + ob, w[i], h[i], lv, &db) || cut_check(want + ot * 4, bc + ob, w[i], h[i], lv, &edges); + if (!bad && db < g_cut_db) g_cut_db = db; + } + if (!bad && !edges) { + printf("probe-astc: FAIL BC3 cut-out %s: no 4x4 block ran from transparent to opaque\n", what); + bad = 1; + } + if (!bad) g_cut_cases++, g_cut_texels += nt, g_cut_edges += edges, g_cut_sharp += npool; + free(blk), free(want), free(bc); + return bad; +} + // One 2048 x 2048 texture of valid blocks: the CPU worker-pool decode against the GPU time of the dispatches alone // (vk_astc.c timestamps, NX2NAVI_ASTC_TIME) and the wall time of the upload batch. static void timing(VkCtx *c, uint32_t bw, uint32_t bh) { @@ -370,8 +527,21 @@ int probe_astc(void) { for (int b = 0; b < NB && !bad; b++) if (!g_bucket[b]) { printf("probe-astc: FAIL no valid %s block was generated\n", bucket_name[b]); bad = 1; } if (!bad && !vk_astc_bc()) printf("probe-astc: BC3 encoder not available on this device: not checked\n"); - else if (!bad) printf("probe-astc: BC3 encode: %llu cases within the bounds, lowest PSNR %.1f dB (floor %d)\n", - (unsigned long long)g_bc_cases, g_bc_db, BC_MIN_DB); + else if (!bad) { + printf("probe-astc: BC3 encode: %llu cases within the bounds, lowest PSNR %.1f dB (floor %d)\n", + (unsigned long long)g_bc_cases, g_bc_db, BC_MIN_DB); + // cut-outs: every footprint, then two chains large enough that level 0 is a scratch chunk of its own + for (int i = 0; i < 14 && !bad; i++) + for (int s = 0; s < 2 && !bad; s++) + bad = cutout_case(c, dims[i][0], dims[i][1], s, 53u * dims[i][0] - 3, 41u * dims[i][1] - 1); + if (!bad) bad = cutout_case(c, 4, 4, 1, 3001, 2999) || cutout_case(c, 6, 5, 0, 3003, 2997); + if (!bad) + printf("probe-astc: BC3 cut-outs: %llu mip chains, %.2f M texels, %llu 4x4 blocks from transparent to opaque " + "(%llu sharp-edged ASTC blocks among the void extents): alpha 0 and 255 exact, every alpha test at 1/4, " + "1/2 and 3/4 kept outside the block's alpha step; lowest PSNR %.1f dB\n", + (unsigned long long)g_cut_cases, (double)g_cut_texels / 1e6, (unsigned long long)g_cut_edges, + (unsigned long long)g_cut_sharp, g_cut_db); + } if (!bad) { timing(c, 4, 4); timing(c, 6, 6); diff --git a/runtime/bc3_encode_spv.h b/runtime/bc3_encode_spv.h index eeda0774..57ec258c 100644 --- a/runtime/bc3_encode_spv.h +++ b/runtime/bc3_encode_spv.h @@ -1,253 +1,258 @@ // Generated by tools/build_shaders.py from runtime/shaders/bc3_encode.comp; do not edit. -// source sha256 ac318d358136b39a113a18474a815f447223667657c90f9e0356a392639d8541 +// source sha256 c8bf959be25407ccdc401d3dda9331b068f4c036ffcd8a5383866e9d32270d18 #pragma once #include static const uint32_t bc3_encode_spv[] = { - 0x07230203, 0x00010300, 0x000d000b, 0x00000314, 0x00000000, 0x00020011, 0x00000001, 0x0006000b, + 0x07230203, 0x00010300, 0x000d000b, 0x0000032b, 0x00000000, 0x00020011, 0x00000001, 0x0006000b, 0x00000001, 0x4c534c47, 0x6474732e, 0x3035342e, 0x00000000, 0x0003000e, 0x00000000, 0x00000001, - 0x0006000f, 0x00000005, 0x00000004, 0x6e69616d, 0x00000000, 0x0000007f, 0x00060010, 0x00000004, + 0x0006000f, 0x00000005, 0x00000004, 0x6e69616d, 0x00000000, 0x0000008e, 0x00060010, 0x00000004, 0x00000011, 0x00000008, 0x00000008, 0x00000001, 0x00030047, 0x0000001b, 0x00000002, 0x00050048, 0x0000001b, 0x00000000, 0x00000023, 0x00000000, 0x00050048, 0x0000001b, 0x00000001, 0x00000023, 0x00000004, 0x00050048, 0x0000001b, 0x00000002, 0x00000023, 0x00000008, 0x00050048, 0x0000001b, 0x00000003, 0x00000023, 0x0000000c, 0x00050048, 0x0000001b, 0x00000004, 0x00000023, 0x00000010, - 0x00050048, 0x0000001b, 0x00000005, 0x00000023, 0x00000014, 0x00040047, 0x0000002c, 0x00000006, - 0x00000004, 0x00030047, 0x0000002d, 0x00000002, 0x00040048, 0x0000002d, 0x00000000, 0x00000018, - 0x00050048, 0x0000002d, 0x00000000, 0x00000023, 0x00000000, 0x00030047, 0x0000002f, 0x00000018, - 0x00040047, 0x0000002f, 0x00000021, 0x00000000, 0x00040047, 0x0000002f, 0x00000022, 0x00000000, - 0x00040047, 0x0000007f, 0x0000000b, 0x0000001c, 0x00040047, 0x000001e9, 0x00000006, 0x00000010, - 0x00030047, 0x000001ea, 0x00000002, 0x00040048, 0x000001ea, 0x00000000, 0x00000019, 0x00050048, - 0x000001ea, 0x00000000, 0x00000023, 0x00000000, 0x00030047, 0x000001ec, 0x00000019, 0x00040047, - 0x000001ec, 0x00000021, 0x00000001, 0x00040047, 0x000001ec, 0x00000022, 0x00000000, 0x00040047, - 0x0000020c, 0x0000000b, 0x00000019, 0x00020013, 0x00000002, 0x00030021, 0x00000003, 0x00000002, + 0x00050048, 0x0000001b, 0x00000005, 0x00000023, 0x00000014, 0x00040047, 0x0000002d, 0x00000006, + 0x00000004, 0x00030047, 0x0000002e, 0x00000002, 0x00040048, 0x0000002e, 0x00000000, 0x00000018, + 0x00050048, 0x0000002e, 0x00000000, 0x00000023, 0x00000000, 0x00030047, 0x00000030, 0x00000018, + 0x00040047, 0x00000030, 0x00000021, 0x00000000, 0x00040047, 0x00000030, 0x00000022, 0x00000000, + 0x00040047, 0x0000008e, 0x0000000b, 0x0000001c, 0x00040047, 0x000001f6, 0x00000006, 0x00000010, + 0x00030047, 0x000001f7, 0x00000002, 0x00040048, 0x000001f7, 0x00000000, 0x00000019, 0x00050048, + 0x000001f7, 0x00000000, 0x00000023, 0x00000000, 0x00030047, 0x000001f9, 0x00000019, 0x00040047, + 0x000001f9, 0x00000021, 0x00000001, 0x00040047, 0x000001f9, 0x00000022, 0x00000000, 0x00040047, + 0x00000218, 0x0000000b, 0x00000019, 0x00020013, 0x00000002, 0x00030021, 0x00000003, 0x00000002, 0x00040015, 0x00000006, 0x00000020, 0x00000000, 0x00030016, 0x00000008, 0x00000020, 0x00040017, 0x00000009, 0x00000008, 0x00000004, 0x00040017, 0x00000010, 0x00000008, 0x00000003, 0x0008001e, 0x0000001b, 0x00000006, 0x00000006, 0x00000006, 0x00000006, 0x00000006, 0x00000006, 0x00040020, 0x0000001c, 0x00000009, 0x0000001b, 0x0004003b, 0x0000001c, 0x0000001d, 0x00000009, 0x00040015, 0x0000001e, 0x00000020, 0x00000001, 0x0004002b, 0x0000001e, 0x0000001f, 0x00000002, 0x00040020, 0x00000020, 0x00000009, 0x00000006, 0x0004002b, 0x00000006, 0x00000023, 0x00000001, 0x0004002b, - 0x0000001e, 0x00000027, 0x00000003, 0x0003001d, 0x0000002c, 0x00000006, 0x0003001e, 0x0000002d, - 0x0000002c, 0x00040020, 0x0000002e, 0x0000000c, 0x0000002d, 0x0004003b, 0x0000002e, 0x0000002f, - 0x0000000c, 0x0004002b, 0x0000001e, 0x00000030, 0x00000000, 0x00040020, 0x0000003f, 0x0000000c, - 0x00000006, 0x0004002b, 0x00000008, 0x00000043, 0x437f0000, 0x00040017, 0x00000047, 0x00000006, - 0x00000003, 0x0004002b, 0x00000008, 0x0000004b, 0x00000000, 0x0004002b, 0x00000006, 0x00000057, - 0x00000000, 0x0004002b, 0x0000001e, 0x0000005a, 0x0000000b, 0x0004002b, 0x0000001e, 0x0000005e, - 0x00000005, 0x0004002b, 0x00000006, 0x00000061, 0x00000002, 0x0004002b, 0x00000006, 0x00000069, - 0x0000001f, 0x0004002b, 0x00000006, 0x00000070, 0x0000003f, 0x00040020, 0x0000007e, 0x00000001, - 0x00000047, 0x0004003b, 0x0000007e, 0x0000007f, 0x00000001, 0x0004002b, 0x00000006, 0x00000084, - 0x00000003, 0x0004002b, 0x00000006, 0x00000086, 0x00000004, 0x00020014, 0x00000088, 0x0004002b, - 0x0000001e, 0x0000008b, 0x00000004, 0x00040020, 0x0000009a, 0x00000007, 0x00000009, 0x0007002c, - 0x00000009, 0x0000009c, 0x00000043, 0x00000043, 0x00000043, 0x00000043, 0x0007002c, 0x00000009, - 0x0000009e, 0x0000004b, 0x0000004b, 0x0000004b, 0x0000004b, 0x0004002b, 0x00000006, 0x000000a7, - 0x00000010, 0x0004001c, 0x000000a9, 0x00000009, 0x000000a7, 0x00040020, 0x000000aa, 0x00000007, - 0x000000a9, 0x0004002b, 0x0000001e, 0x000000d0, 0x00000001, 0x00040020, 0x000000d7, 0x00000007, - 0x00000008, 0x00040017, 0x000000df, 0x00000006, 0x00000002, 0x0004002b, 0x0000001e, 0x000000e4, - 0x00000008, 0x0004002b, 0x00000008, 0x00000101, 0x40e00000, 0x0004002b, 0x00000006, 0x00000110, - 0x00000007, 0x0004002b, 0x00000006, 0x0000011f, 0x00000020, 0x0004002b, 0x00000008, 0x000001b5, - 0x358637bd, 0x0004002b, 0x00000008, 0x000001ca, 0x40400000, 0x00040017, 0x000001e8, 0x00000006, - 0x00000004, 0x0003001d, 0x000001e9, 0x000001e8, 0x0003001e, 0x000001ea, 0x000001e9, 0x00040020, - 0x000001eb, 0x0000000c, 0x000001ea, 0x0004003b, 0x000001eb, 0x000001ec, 0x0000000c, 0x0004002b, - 0x0000001e, 0x00000204, 0x00000010, 0x00040020, 0x00000209, 0x0000000c, 0x000001e8, 0x0004002b, - 0x00000006, 0x0000020b, 0x00000008, 0x0006002c, 0x00000047, 0x0000020c, 0x0000020b, 0x0000020b, - 0x00000023, 0x0006002c, 0x00000010, 0x00000302, 0x0000004b, 0x0000004b, 0x0000004b, 0x0006002c, - 0x00000010, 0x00000303, 0x00000043, 0x00000043, 0x00000043, 0x0004002b, 0x00000008, 0x00000304, - 0x3d800000, 0x0007002c, 0x00000009, 0x00000305, 0x00000304, 0x00000304, 0x00000304, 0x00000304, - 0x0006002c, 0x00000010, 0x00000306, 0x00000304, 0x00000304, 0x00000304, 0x0004002b, 0x00000008, - 0x00000309, 0x3df8f8fa, 0x0004002b, 0x00000008, 0x0000030a, 0x3e7cfcfe, 0x0006002c, 0x00000010, - 0x0000030b, 0x00000309, 0x0000030a, 0x00000309, 0x0004002b, 0x00000008, 0x0000030d, 0x41039ce7, - 0x0004002b, 0x00000008, 0x0000030f, 0x40818619, 0x0004002b, 0x00000006, 0x00000310, 0x00000013, - 0x0004002b, 0x00000006, 0x00000311, 0xfffffff0, 0x00050036, 0x00000002, 0x00000004, 0x00000000, - 0x00000003, 0x000200f8, 0x00000005, 0x0004003b, 0x000000aa, 0x000000ab, 0x00000007, 0x000300f7, - 0x0000020d, 0x00000000, 0x000300fb, 0x00000057, 0x0000020e, 0x000200f8, 0x0000020e, 0x0004003d, - 0x00000047, 0x00000080, 0x0000007f, 0x00050041, 0x00000020, 0x00000082, 0x0000001d, 0x00000027, - 0x0004003d, 0x00000006, 0x00000083, 0x00000082, 0x00050080, 0x00000006, 0x00000085, 0x00000083, - 0x00000084, 0x00050086, 0x00000006, 0x00000087, 0x00000085, 0x00000086, 0x00050051, 0x00000006, - 0x0000008a, 0x00000080, 0x00000000, 0x00050041, 0x00000020, 0x0000008c, 0x0000001d, 0x0000008b, - 0x0004003d, 0x00000006, 0x0000008d, 0x0000008c, 0x000500ae, 0x00000088, 0x0000008e, 0x0000008a, - 0x0000008d, 0x000400a8, 0x00000088, 0x0000008f, 0x0000008e, 0x000300f7, 0x00000091, 0x00000000, - 0x000400fa, 0x0000008f, 0x00000090, 0x00000091, 0x000200f8, 0x00000090, 0x00050051, 0x00000006, - 0x00000093, 0x00000080, 0x00000001, 0x000500ae, 0x00000088, 0x00000095, 0x00000093, 0x00000087, - 0x000200f9, 0x00000091, 0x000200f8, 0x00000091, 0x000700f5, 0x00000088, 0x00000096, 0x0000008e, - 0x0000020e, 0x00000095, 0x00000090, 0x000300f7, 0x00000098, 0x00000000, 0x000400fa, 0x00000096, - 0x00000097, 0x00000098, 0x000200f8, 0x00000097, 0x000200f9, 0x0000020d, 0x000200f8, 0x00000098, - 0x000200f9, 0x000000a1, 0x000200f8, 0x000000a1, 0x000700f5, 0x00000009, 0x000002b0, 0x0000009c, - 0x00000098, 0x000000c4, 0x000000a2, 0x000700f5, 0x00000009, 0x000002af, 0x0000009e, 0x00000098, - 0x000000c9, 0x000000a2, 0x000700f5, 0x00000009, 0x000002ae, 0x0000009e, 0x00000098, 0x000000ce, - 0x000000a2, 0x000700f5, 0x00000006, 0x000002ad, 0x00000057, 0x00000098, 0x000000d1, 0x000000a2, - 0x000500b0, 0x00000088, 0x000000a8, 0x000002ad, 0x000000a7, 0x000400f6, 0x000000a3, 0x000000a2, - 0x00000000, 0x000400fa, 0x000000a8, 0x000000a2, 0x000000a3, 0x000200f8, 0x000000a2, 0x00050084, - 0x00000006, 0x000000af, 0x0000008a, 0x00000086, 0x000500c7, 0x00000006, 0x000000b1, 0x000002ad, - 0x00000084, 0x00050080, 0x00000006, 0x000000b2, 0x000000af, 0x000000b1, 0x00050051, 0x00000006, - 0x000000b4, 0x00000080, 0x00000001, 0x00050084, 0x00000006, 0x000000b5, 0x000000b4, 0x00000086, - 0x000500c2, 0x00000006, 0x000000b7, 0x000002ad, 0x0000001f, 0x00050080, 0x00000006, 0x000000b8, - 0x000000b5, 0x000000b7, 0x00050051, 0x00000006, 0x000000bd, 0x00000080, 0x00000002, 0x00050041, - 0x00000020, 0x00000216, 0x0000001d, 0x0000001f, 0x0004003d, 0x00000006, 0x00000217, 0x00000216, - 0x00050082, 0x00000006, 0x00000218, 0x00000217, 0x00000023, 0x0007000c, 0x00000006, 0x00000219, - 0x00000001, 0x00000026, 0x000000b2, 0x00000218, 0x00050082, 0x00000006, 0x0000021d, 0x00000083, - 0x00000023, 0x0007000c, 0x00000006, 0x0000021e, 0x00000001, 0x00000026, 0x000000b8, 0x0000021d, - 0x00050041, 0x00000020, 0x0000021f, 0x0000001d, 0x00000030, 0x0004003d, 0x00000006, 0x00000220, - 0x0000021f, 0x00050084, 0x00000006, 0x00000224, 0x000000bd, 0x00000083, 0x00050080, 0x00000006, - 0x00000226, 0x00000224, 0x0000021e, 0x00050084, 0x00000006, 0x00000229, 0x00000226, 0x00000217, - 0x00050080, 0x00000006, 0x0000022a, 0x00000220, 0x00000229, 0x00050080, 0x00000006, 0x0000022c, - 0x0000022a, 0x00000219, 0x00060041, 0x0000003f, 0x0000022d, 0x0000002f, 0x00000030, 0x0000022c, - 0x0004003d, 0x00000006, 0x0000022e, 0x0000022d, 0x0006000c, 0x00000009, 0x0000022f, 0x00000001, - 0x00000040, 0x0000022e, 0x0005008e, 0x00000009, 0x00000230, 0x0000022f, 0x00000043, 0x00050041, - 0x0000009a, 0x000000bf, 0x000000ab, 0x000002ad, 0x0003003e, 0x000000bf, 0x00000230, 0x0004003d, - 0x00000009, 0x000000c3, 0x000000bf, 0x0007000c, 0x00000009, 0x000000c4, 0x00000001, 0x00000025, - 0x000002b0, 0x000000c3, 0x0004003d, 0x00000009, 0x000000c8, 0x000000bf, 0x0007000c, 0x00000009, - 0x000000c9, 0x00000001, 0x00000028, 0x000002af, 0x000000c8, 0x0004003d, 0x00000009, 0x000000cc, - 0x000000bf, 0x00050081, 0x00000009, 0x000000ce, 0x000002ae, 0x000000cc, 0x00050080, 0x00000006, - 0x000000d1, 0x000002ad, 0x000000d0, 0x000200f9, 0x000000a1, 0x000200f8, 0x000000a3, 0x00050085, - 0x00000009, 0x000000d5, 0x000002ae, 0x00000305, 0x00050051, 0x00000008, 0x000000d9, 0x000002af, - 0x00000003, 0x0004006d, 0x00000006, 0x000000da, 0x000000d9, 0x00050051, 0x00000008, 0x000000dd, - 0x000002b0, 0x00000003, 0x0004006d, 0x00000006, 0x000000de, 0x000000dd, 0x000500c4, 0x00000006, - 0x000000e5, 0x000000de, 0x000000e4, 0x000500c5, 0x00000006, 0x000000e6, 0x000000da, 0x000000e5, - 0x00050050, 0x000000df, 0x000000e7, 0x000000e6, 0x00000057, 0x000500ac, 0x00000088, 0x000000ea, - 0x000000da, 0x000000de, 0x000300f7, 0x000000ec, 0x00000000, 0x000400fa, 0x000000ea, 0x000000eb, - 0x000000ec, 0x000200f8, 0x000000eb, 0x00050082, 0x00000006, 0x000000f0, 0x000000da, 0x000000de, - 0x00040070, 0x00000008, 0x000000f1, 0x000000f0, 0x000200f9, 0x000000f3, 0x000200f8, 0x000000f3, - 0x000700f5, 0x000000df, 0x000002c8, 0x000000e7, 0x000000eb, 0x000002f1, 0x000000f6, 0x000700f5, - 0x00000006, 0x000002b1, 0x00000057, 0x000000eb, 0x00000143, 0x000000f6, 0x000500b0, 0x00000088, - 0x000000f9, 0x000002b1, 0x000000a7, 0x000400f6, 0x000000f5, 0x000000f6, 0x00000000, 0x000400fa, - 0x000000f9, 0x000000f4, 0x000000f5, 0x000200f8, 0x000000f4, 0x00040070, 0x00000008, 0x000000fc, - 0x000000da, 0x00060041, 0x000000d7, 0x000000fe, 0x000000ab, 0x000002b1, 0x00000084, 0x0004003d, - 0x00000008, 0x000000ff, 0x000000fe, 0x00050083, 0x00000008, 0x00000100, 0x000000fc, 0x000000ff, - 0x00050085, 0x00000008, 0x00000102, 0x00000100, 0x00000101, 0x00050088, 0x00000008, 0x00000104, - 0x00000102, 0x000000f1, 0x0006000c, 0x00000008, 0x00000105, 0x00000001, 0x00000001, 0x00000104, - 0x0008000c, 0x00000008, 0x00000106, 0x00000001, 0x0000002b, 0x00000105, 0x0000004b, 0x00000101, - 0x0004006d, 0x00000006, 0x00000107, 0x00000106, 0x000500aa, 0x00000088, 0x0000010a, 0x00000107, - 0x00000057, 0x000300f7, 0x0000010d, 0x00000000, 0x000400fa, 0x0000010a, 0x0000010c, 0x0000010e, - 0x000200f8, 0x0000010c, 0x000200f9, 0x0000010d, 0x000200f8, 0x0000010e, 0x000500aa, 0x00000088, - 0x00000111, 0x00000107, 0x00000110, 0x000300f7, 0x00000114, 0x00000000, 0x000400fa, 0x00000111, - 0x00000113, 0x00000115, 0x000200f8, 0x00000113, 0x000200f9, 0x00000114, 0x000200f8, 0x00000115, - 0x00050080, 0x00000006, 0x00000117, 0x00000107, 0x00000023, 0x000200f9, 0x00000114, 0x000200f8, - 0x00000114, 0x000700f5, 0x00000006, 0x000002db, 0x00000023, 0x00000113, 0x00000117, 0x00000115, - 0x000200f9, 0x0000010d, 0x000200f8, 0x0000010d, 0x000700f5, 0x00000006, 0x000002dc, 0x00000057, - 0x0000010c, 0x000002db, 0x00000114, 0x00050084, 0x00000006, 0x0000011c, 0x00000084, 0x000002b1, - 0x00050080, 0x00000006, 0x0000011d, 0x000000a7, 0x0000011c, 0x000500b0, 0x00000088, 0x00000120, - 0x0000011d, 0x0000011f, 0x000300f7, 0x00000122, 0x00000000, 0x000400fa, 0x00000120, 0x00000121, - 0x00000122, 0x000200f8, 0x00000121, 0x000500c4, 0x00000006, 0x00000125, 0x000002dc, 0x0000011d, - 0x00050051, 0x00000006, 0x00000127, 0x000002c8, 0x00000000, 0x000500c5, 0x00000006, 0x00000128, - 0x00000127, 0x00000125, 0x00060052, 0x000000df, 0x0000028e, 0x00000128, 0x000002c8, 0x00000000, - 0x000200f9, 0x00000122, 0x000200f8, 0x00000122, 0x000700f5, 0x000000df, 0x000002e3, 0x000002c8, - 0x0000010d, 0x0000028e, 0x00000121, 0x00050080, 0x00000006, 0x0000012b, 0x0000011c, 0x00000310, - 0x000500ac, 0x00000088, 0x0000012c, 0x0000012b, 0x0000011f, 0x000300f7, 0x0000012e, 0x00000000, - 0x000400fa, 0x0000012c, 0x0000012d, 0x0000012e, 0x000200f8, 0x0000012d, 0x0007000c, 0x00000006, - 0x00000131, 0x00000001, 0x00000026, 0x0000011d, 0x0000011f, 0x00050082, 0x00000006, 0x00000132, - 0x0000011f, 0x00000131, 0x000500c2, 0x00000006, 0x00000133, 0x000002dc, 0x00000132, 0x000500ac, - 0x00000088, 0x00000135, 0x0000011d, 0x0000011f, 0x000300f7, 0x00000138, 0x00000000, 0x000400fa, - 0x00000135, 0x00000137, 0x0000013b, 0x000200f8, 0x00000137, 0x00050080, 0x00000006, 0x0000013a, - 0x0000011c, 0x00000311, 0x000200f9, 0x00000138, 0x000200f8, 0x0000013b, 0x000200f9, 0x00000138, - 0x000200f8, 0x00000138, 0x000700f5, 0x00000006, 0x000002e1, 0x0000013a, 0x00000137, 0x00000057, - 0x0000013b, 0x000500c4, 0x00000006, 0x0000013d, 0x00000133, 0x000002e1, 0x00050051, 0x00000006, - 0x0000013f, 0x000002e3, 0x00000001, 0x000500c5, 0x00000006, 0x00000140, 0x0000013f, 0x0000013d, - 0x00060052, 0x000000df, 0x00000291, 0x00000140, 0x000002e3, 0x00000001, 0x000200f9, 0x0000012e, - 0x000200f8, 0x0000012e, 0x000700f5, 0x000000df, 0x000002f1, 0x000002e3, 0x00000122, 0x00000291, - 0x00000138, 0x000200f9, 0x000000f6, 0x000200f8, 0x000000f6, 0x00050080, 0x00000006, 0x00000143, - 0x000002b1, 0x000000d0, 0x000200f9, 0x000000f3, 0x000200f8, 0x000000f5, 0x000200f9, 0x000000ec, - 0x000200f8, 0x000000ec, 0x000700f5, 0x000000df, 0x000002c7, 0x000000e7, 0x000000a3, 0x000002c8, - 0x000000f5, 0x0008004f, 0x00000010, 0x00000146, 0x000002b0, 0x000002b0, 0x00000000, 0x00000001, - 0x00000002, 0x0008004f, 0x00000010, 0x00000149, 0x000002af, 0x000002af, 0x00000000, 0x00000001, - 0x00000002, 0x000200f9, 0x0000014d, 0x000200f8, 0x0000014d, 0x000700f5, 0x00000008, 0x000002bb, - 0x0000004b, 0x000000ec, 0x00000169, 0x0000014e, 0x000700f5, 0x00000008, 0x000002b7, 0x0000004b, - 0x000000ec, 0x00000162, 0x0000014e, 0x000700f5, 0x00000006, 0x000002b6, 0x00000057, 0x000000ec, - 0x0000016b, 0x0000014e, 0x000500b0, 0x00000088, 0x00000153, 0x000002b6, 0x000000a7, 0x000400f6, - 0x0000014f, 0x0000014e, 0x00000000, 0x000400fa, 0x00000153, 0x0000014e, 0x0000014f, 0x000200f8, - 0x0000014e, 0x00050041, 0x0000009a, 0x00000156, 0x000000ab, 0x000002b6, 0x0004003d, 0x00000009, - 0x00000157, 0x00000156, 0x0008004f, 0x00000010, 0x00000158, 0x00000157, 0x00000157, 0x00000000, - 0x00000001, 0x00000002, 0x0008004f, 0x00000010, 0x0000015a, 0x000000d5, 0x000000d5, 0x00000000, - 0x00000001, 0x00000002, 0x00050083, 0x00000010, 0x0000015b, 0x00000158, 0x0000015a, 0x00050051, - 0x00000008, 0x0000015d, 0x0000015b, 0x00000000, 0x00050051, 0x00000008, 0x0000015f, 0x0000015b, - 0x00000001, 0x00050085, 0x00000008, 0x00000160, 0x0000015d, 0x0000015f, 0x00050081, 0x00000008, - 0x00000162, 0x000002b7, 0x00000160, 0x00050051, 0x00000008, 0x00000164, 0x0000015b, 0x00000002, - 0x00050085, 0x00000008, 0x00000167, 0x00000164, 0x0000015f, 0x00050081, 0x00000008, 0x00000169, - 0x000002bb, 0x00000167, 0x00050080, 0x00000006, 0x0000016b, 0x000002b6, 0x000000d0, 0x000200f9, - 0x0000014d, 0x000200f8, 0x0000014f, 0x000500b8, 0x00000088, 0x0000016d, 0x000002b7, 0x0000004b, - 0x000300f7, 0x0000016f, 0x00000000, 0x000400fa, 0x0000016d, 0x0000016e, 0x0000016f, 0x000200f8, - 0x0000016e, 0x00050051, 0x00000008, 0x00000172, 0x000002b0, 0x00000000, 0x00050051, 0x00000008, - 0x00000174, 0x000002af, 0x00000000, 0x00060052, 0x00000010, 0x00000299, 0x00000174, 0x00000146, - 0x00000000, 0x00060052, 0x00000010, 0x0000029b, 0x00000172, 0x00000149, 0x00000000, 0x000200f9, - 0x0000016f, 0x000200f8, 0x0000016f, 0x000700f5, 0x00000010, 0x000002bd, 0x00000149, 0x0000014f, - 0x0000029b, 0x0000016e, 0x000700f5, 0x00000010, 0x000002bc, 0x00000146, 0x0000014f, 0x00000299, - 0x0000016e, 0x000500b8, 0x00000088, 0x00000179, 0x000002bb, 0x0000004b, 0x000300f7, 0x0000017b, - 0x00000000, 0x000400fa, 0x00000179, 0x0000017a, 0x0000017b, 0x000200f8, 0x0000017a, 0x00050051, - 0x00000008, 0x0000017e, 0x000002bc, 0x00000002, 0x00050051, 0x00000008, 0x00000180, 0x000002bd, - 0x00000002, 0x00060052, 0x00000010, 0x0000029f, 0x00000180, 0x000002bc, 0x00000002, 0x00060052, - 0x00000010, 0x000002a1, 0x0000017e, 0x000002bd, 0x00000002, 0x000200f9, 0x0000017b, 0x000200f8, - 0x0000017b, 0x000700f5, 0x00000010, 0x000002bf, 0x000002bc, 0x0000016f, 0x0000029f, 0x0000017a, - 0x000700f5, 0x00000010, 0x000002be, 0x000002bd, 0x0000016f, 0x000002a1, 0x0000017a, 0x00050083, - 0x00000010, 0x00000187, 0x000002be, 0x000002bf, 0x00050085, 0x00000010, 0x00000189, 0x00000187, - 0x00000306, 0x00050083, 0x00000010, 0x0000018d, 0x000002be, 0x00000189, 0x0008000c, 0x00000010, - 0x00000237, 0x00000001, 0x0000002b, 0x0000018d, 0x00000302, 0x00000303, 0x00050085, 0x00000010, - 0x0000023a, 0x00000237, 0x0000030b, 0x0006000c, 0x00000010, 0x0000023b, 0x00000001, 0x00000001, - 0x0000023a, 0x0004006d, 0x00000047, 0x0000023c, 0x0000023b, 0x00050051, 0x00000006, 0x0000023e, - 0x0000023c, 0x00000000, 0x000500c4, 0x00000006, 0x0000023f, 0x0000023e, 0x0000005a, 0x00050051, - 0x00000006, 0x00000241, 0x0000023c, 0x00000001, 0x000500c4, 0x00000006, 0x00000242, 0x00000241, - 0x0000005e, 0x000500c5, 0x00000006, 0x00000243, 0x0000023f, 0x00000242, 0x00050051, 0x00000006, - 0x00000245, 0x0000023c, 0x00000002, 0x000500c5, 0x00000006, 0x00000246, 0x00000243, 0x00000245, - 0x00050081, 0x00000010, 0x00000193, 0x000002bf, 0x00000189, 0x0008000c, 0x00000010, 0x0000024d, - 0x00000001, 0x0000002b, 0x00000193, 0x00000302, 0x00000303, 0x00050085, 0x00000010, 0x00000250, - 0x0000024d, 0x0000030b, 0x0006000c, 0x00000010, 0x00000251, 0x00000001, 0x00000001, 0x00000250, - 0x0004006d, 0x00000047, 0x00000252, 0x00000251, 0x00050051, 0x00000006, 0x00000254, 0x00000252, - 0x00000000, 0x000500c4, 0x00000006, 0x00000255, 0x00000254, 0x0000005a, 0x00050051, 0x00000006, - 0x00000257, 0x00000252, 0x00000001, 0x000500c4, 0x00000006, 0x00000258, 0x00000257, 0x0000005e, - 0x000500c5, 0x00000006, 0x00000259, 0x00000255, 0x00000258, 0x00050051, 0x00000006, 0x0000025b, - 0x00000252, 0x00000002, 0x000500c5, 0x00000006, 0x0000025c, 0x00000259, 0x0000025b, 0x000500ab, - 0x00000088, 0x00000199, 0x00000246, 0x0000025c, 0x000300f7, 0x0000019b, 0x00000000, 0x000400fa, - 0x00000199, 0x0000019a, 0x0000019b, 0x000200f8, 0x0000019a, 0x000500b0, 0x00000088, 0x0000019e, - 0x00000246, 0x0000025c, 0x000600a9, 0x00000006, 0x00000312, 0x0000019e, 0x00000246, 0x0000025c, - 0x000600a9, 0x00000006, 0x00000313, 0x0000019e, 0x0000025c, 0x00000246, 0x000500c2, 0x00000006, - 0x00000260, 0x00000313, 0x0000005a, 0x000500c7, 0x00000006, 0x00000261, 0x00000260, 0x00000069, - 0x00040070, 0x00000008, 0x00000262, 0x00000261, 0x00050085, 0x00000008, 0x00000264, 0x00000262, - 0x0000030d, 0x000500c2, 0x00000006, 0x00000266, 0x00000313, 0x0000005e, 0x000500c7, 0x00000006, - 0x00000267, 0x00000266, 0x00000070, 0x00040070, 0x00000008, 0x00000268, 0x00000267, 0x00050085, - 0x00000008, 0x0000026a, 0x00000268, 0x0000030f, 0x000500c7, 0x00000006, 0x0000026c, 0x00000313, - 0x00000069, 0x00040070, 0x00000008, 0x0000026d, 0x0000026c, 0x00050085, 0x00000008, 0x0000026f, - 0x0000026d, 0x0000030d, 0x00060050, 0x00000010, 0x00000270, 0x00000264, 0x0000026a, 0x0000026f, - 0x000500c2, 0x00000006, 0x00000274, 0x00000312, 0x0000005a, 0x000500c7, 0x00000006, 0x00000275, - 0x00000274, 0x00000069, 0x00040070, 0x00000008, 0x00000276, 0x00000275, 0x00050085, 0x00000008, - 0x00000278, 0x00000276, 0x0000030d, 0x000500c2, 0x00000006, 0x0000027a, 0x00000312, 0x0000005e, - 0x000500c7, 0x00000006, 0x0000027b, 0x0000027a, 0x00000070, 0x00040070, 0x00000008, 0x0000027c, - 0x0000027b, 0x00050085, 0x00000008, 0x0000027e, 0x0000027c, 0x0000030f, 0x000500c7, 0x00000006, - 0x00000280, 0x00000312, 0x00000069, 0x00040070, 0x00000008, 0x00000281, 0x00000280, 0x00050085, - 0x00000008, 0x00000283, 0x00000281, 0x0000030d, 0x00060050, 0x00000010, 0x00000284, 0x00000278, - 0x0000027e, 0x00000283, 0x00050083, 0x00000010, 0x000001b0, 0x00000284, 0x00000270, 0x00050094, - 0x00000008, 0x000001b4, 0x000001b0, 0x000001b0, 0x0007000c, 0x00000008, 0x000001b6, 0x00000001, - 0x00000028, 0x000001b4, 0x000001b5, 0x000200f9, 0x000001b8, 0x000200f8, 0x000001b8, 0x000700f5, - 0x00000006, 0x000002d0, 0x00000057, 0x0000019a, 0x000001e5, 0x000001bb, 0x000700f5, 0x00000006, - 0x000002c2, 0x00000057, 0x0000019a, 0x000001e7, 0x000001bb, 0x000500b0, 0x00000088, 0x000001be, - 0x000002c2, 0x000000a7, 0x000400f6, 0x000001ba, 0x000001bb, 0x00000000, 0x000400fa, 0x000001be, - 0x000001b9, 0x000001ba, 0x000200f8, 0x000001b9, 0x00050041, 0x0000009a, 0x000001c1, 0x000000ab, - 0x000002c2, 0x0004003d, 0x00000009, 0x000001c2, 0x000001c1, 0x0008004f, 0x00000010, 0x000001c3, - 0x000001c2, 0x000001c2, 0x00000000, 0x00000001, 0x00000002, 0x00050083, 0x00000010, 0x000001c5, - 0x000001c3, 0x00000270, 0x00050094, 0x00000008, 0x000001c7, 0x000001c5, 0x000001b0, 0x00050088, - 0x00000008, 0x000001c9, 0x000001c7, 0x000001b6, 0x00050085, 0x00000008, 0x000001cb, 0x000001c9, - 0x000001ca, 0x0006000c, 0x00000008, 0x000001cc, 0x00000001, 0x00000001, 0x000001cb, 0x0008000c, - 0x00000008, 0x000001cd, 0x00000001, 0x0000002b, 0x000001cc, 0x0000004b, 0x000001ca, 0x0004006d, - 0x00000006, 0x000001ce, 0x000001cd, 0x000500aa, 0x00000088, 0x000001d1, 0x000001ce, 0x00000057, - 0x000300f7, 0x000001d4, 0x00000000, 0x000400fa, 0x000001d1, 0x000001d3, 0x000001d5, 0x000200f8, - 0x000001d3, 0x000200f9, 0x000001d4, 0x000200f8, 0x000001d5, 0x000500aa, 0x00000088, 0x000001d7, - 0x000001ce, 0x00000084, 0x000300f7, 0x000001da, 0x00000000, 0x000400fa, 0x000001d7, 0x000001d9, - 0x000001db, 0x000200f8, 0x000001d9, 0x000200f9, 0x000001da, 0x000200f8, 0x000001db, 0x00050080, - 0x00000006, 0x000001dd, 0x000001ce, 0x00000023, 0x000200f9, 0x000001da, 0x000200f8, 0x000001da, - 0x000700f5, 0x00000006, 0x000002d2, 0x00000023, 0x000001d9, 0x000001dd, 0x000001db, 0x000200f9, - 0x000001d4, 0x000200f8, 0x000001d4, 0x000700f5, 0x00000006, 0x000002d3, 0x00000057, 0x000001d3, - 0x000002d2, 0x000001da, 0x00050084, 0x00000006, 0x000001e2, 0x00000061, 0x000002c2, 0x000500c4, - 0x00000006, 0x000001e3, 0x000002d3, 0x000001e2, 0x000500c5, 0x00000006, 0x000001e5, 0x000002d0, - 0x000001e3, 0x000200f9, 0x000001bb, 0x000200f8, 0x000001bb, 0x00050080, 0x00000006, 0x000001e7, - 0x000002c2, 0x000000d0, 0x000200f9, 0x000001b8, 0x000200f8, 0x000001ba, 0x000200f9, 0x0000019b, - 0x000200f8, 0x0000019b, 0x000700f5, 0x00000006, 0x000002cf, 0x00000057, 0x0000017b, 0x000002d0, - 0x000001ba, 0x000700f5, 0x00000006, 0x000002cd, 0x0000025c, 0x0000017b, 0x00000312, 0x000001ba, - 0x000700f5, 0x00000006, 0x000002cb, 0x00000246, 0x0000017b, 0x00000313, 0x000001ba, 0x00050041, - 0x00000020, 0x000001ed, 0x0000001d, 0x000000d0, 0x0004003d, 0x00000006, 0x000001ee, 0x000001ed, - 0x00050051, 0x00000006, 0x000001f0, 0x00000080, 0x00000002, 0x00050041, 0x00000020, 0x000001f1, - 0x0000001d, 0x0000005e, 0x0004003d, 0x00000006, 0x000001f2, 0x000001f1, 0x00050084, 0x00000006, - 0x000001f3, 0x000001f0, 0x000001f2, 0x00050080, 0x00000006, 0x000001f4, 0x000001ee, 0x000001f3, - 0x00050051, 0x00000006, 0x000001f6, 0x00000080, 0x00000001, 0x00050084, 0x00000006, 0x000001f9, - 0x000001f6, 0x0000008d, 0x00050080, 0x00000006, 0x000001fa, 0x000001f4, 0x000001f9, 0x00050080, - 0x00000006, 0x000001fd, 0x000001fa, 0x0000008a, 0x00050051, 0x00000006, 0x000001ff, 0x000002c7, - 0x00000000, 0x00050051, 0x00000006, 0x00000201, 0x000002c7, 0x00000001, 0x000500c4, 0x00000006, - 0x00000205, 0x000002cd, 0x00000204, 0x000500c5, 0x00000006, 0x00000206, 0x000002cb, 0x00000205, - 0x00070050, 0x000001e8, 0x00000208, 0x000001ff, 0x00000201, 0x00000206, 0x000002cf, 0x00060041, - 0x00000209, 0x0000020a, 0x000001ec, 0x00000030, 0x000001fd, 0x0003003e, 0x0000020a, 0x00000208, - 0x000200f9, 0x0000020d, 0x000200f8, 0x0000020d, 0x000100fd, 0x00010038, + 0x0000001e, 0x00000027, 0x00000003, 0x0003001d, 0x0000002d, 0x00000006, 0x0003001e, 0x0000002e, + 0x0000002d, 0x00040020, 0x0000002f, 0x0000000c, 0x0000002e, 0x0004003b, 0x0000002f, 0x00000030, + 0x0000000c, 0x0004002b, 0x0000001e, 0x00000031, 0x00000000, 0x00040020, 0x00000040, 0x0000000c, + 0x00000006, 0x0004002b, 0x0000001e, 0x00000045, 0x00000008, 0x0004002b, 0x0000001e, 0x00000048, + 0x00000010, 0x0004002b, 0x0000001e, 0x0000004b, 0x00000018, 0x00040017, 0x0000004d, 0x00000006, + 0x00000004, 0x0004002b, 0x00000006, 0x0000004f, 0x000000ff, 0x00040017, 0x00000055, 0x00000006, + 0x00000003, 0x0004002b, 0x00000008, 0x00000059, 0x00000000, 0x0004002b, 0x00000008, 0x0000005a, + 0x437f0000, 0x0004002b, 0x00000006, 0x00000066, 0x00000000, 0x0004002b, 0x0000001e, 0x00000069, + 0x0000000b, 0x0004002b, 0x0000001e, 0x0000006d, 0x00000005, 0x0004002b, 0x00000006, 0x00000070, + 0x00000002, 0x0004002b, 0x00000006, 0x00000078, 0x0000001f, 0x0004002b, 0x00000006, 0x0000007f, + 0x0000003f, 0x00040020, 0x0000008d, 0x00000001, 0x00000055, 0x0004003b, 0x0000008d, 0x0000008e, + 0x00000001, 0x0004002b, 0x00000006, 0x00000093, 0x00000003, 0x0004002b, 0x00000006, 0x00000095, + 0x00000004, 0x00020014, 0x00000097, 0x0004002b, 0x0000001e, 0x0000009a, 0x00000004, 0x00040020, + 0x000000a9, 0x00000007, 0x00000009, 0x0007002c, 0x00000009, 0x000000ab, 0x0000005a, 0x0000005a, + 0x0000005a, 0x0000005a, 0x0007002c, 0x00000009, 0x000000ad, 0x00000059, 0x00000059, 0x00000059, + 0x00000059, 0x0004002b, 0x00000006, 0x000000b6, 0x00000010, 0x0004001c, 0x000000b8, 0x00000009, + 0x000000b6, 0x00040020, 0x000000b9, 0x00000007, 0x000000b8, 0x0004002b, 0x0000001e, 0x000000df, + 0x00000001, 0x00040020, 0x000000e6, 0x00000007, 0x00000008, 0x00040017, 0x000000ee, 0x00000006, + 0x00000002, 0x0004002b, 0x00000008, 0x0000010f, 0x40e00000, 0x0004002b, 0x00000006, 0x0000011e, + 0x00000007, 0x0004002b, 0x00000006, 0x0000012d, 0x00000020, 0x0004002b, 0x00000008, 0x000001c3, + 0x358637bd, 0x0004002b, 0x00000008, 0x000001d8, 0x40400000, 0x0003001d, 0x000001f6, 0x0000004d, + 0x0003001e, 0x000001f7, 0x000001f6, 0x00040020, 0x000001f8, 0x0000000c, 0x000001f7, 0x0004003b, + 0x000001f8, 0x000001f9, 0x0000000c, 0x00040020, 0x00000215, 0x0000000c, 0x0000004d, 0x0004002b, + 0x00000006, 0x00000217, 0x00000008, 0x0006002c, 0x00000055, 0x00000218, 0x00000217, 0x00000217, + 0x00000023, 0x0007002c, 0x0000004d, 0x00000314, 0x0000004f, 0x0000004f, 0x0000004f, 0x0000004f, + 0x0006002c, 0x00000010, 0x00000319, 0x00000059, 0x00000059, 0x00000059, 0x0006002c, 0x00000010, + 0x0000031a, 0x0000005a, 0x0000005a, 0x0000005a, 0x0004002b, 0x00000008, 0x0000031b, 0x3d800000, + 0x0007002c, 0x00000009, 0x0000031c, 0x0000031b, 0x0000031b, 0x0000031b, 0x0000031b, 0x0006002c, + 0x00000010, 0x0000031d, 0x0000031b, 0x0000031b, 0x0000031b, 0x0004002b, 0x00000008, 0x00000320, + 0x3df8f8fa, 0x0004002b, 0x00000008, 0x00000321, 0x3e7cfcfe, 0x0006002c, 0x00000010, 0x00000322, + 0x00000320, 0x00000321, 0x00000320, 0x0004002b, 0x00000008, 0x00000324, 0x41039ce7, 0x0004002b, + 0x00000008, 0x00000326, 0x40818619, 0x0004002b, 0x00000006, 0x00000327, 0x00000013, 0x0004002b, + 0x00000006, 0x00000328, 0xfffffff0, 0x00050036, 0x00000002, 0x00000004, 0x00000000, 0x00000003, + 0x000200f8, 0x00000005, 0x0004003b, 0x000000b9, 0x000000ba, 0x00000007, 0x000300f7, 0x00000219, + 0x00000000, 0x000300fb, 0x00000066, 0x0000021a, 0x000200f8, 0x0000021a, 0x0004003d, 0x00000055, + 0x0000008f, 0x0000008e, 0x00050041, 0x00000020, 0x00000091, 0x0000001d, 0x00000027, 0x0004003d, + 0x00000006, 0x00000092, 0x00000091, 0x00050080, 0x00000006, 0x00000094, 0x00000092, 0x00000093, + 0x00050086, 0x00000006, 0x00000096, 0x00000094, 0x00000095, 0x00050051, 0x00000006, 0x00000099, + 0x0000008f, 0x00000000, 0x00050041, 0x00000020, 0x0000009b, 0x0000001d, 0x0000009a, 0x0004003d, + 0x00000006, 0x0000009c, 0x0000009b, 0x000500ae, 0x00000097, 0x0000009d, 0x00000099, 0x0000009c, + 0x000400a8, 0x00000097, 0x0000009e, 0x0000009d, 0x000300f7, 0x000000a0, 0x00000000, 0x000400fa, + 0x0000009e, 0x0000009f, 0x000000a0, 0x000200f8, 0x0000009f, 0x00050051, 0x00000006, 0x000000a2, + 0x0000008f, 0x00000001, 0x000500ae, 0x00000097, 0x000000a4, 0x000000a2, 0x00000096, 0x000200f9, + 0x000000a0, 0x000200f8, 0x000000a0, 0x000700f5, 0x00000097, 0x000000a5, 0x0000009d, 0x0000021a, + 0x000000a4, 0x0000009f, 0x000300f7, 0x000000a7, 0x00000000, 0x000400fa, 0x000000a5, 0x000000a6, + 0x000000a7, 0x000200f8, 0x000000a6, 0x000200f9, 0x00000219, 0x000200f8, 0x000000a7, 0x000200f9, + 0x000000b0, 0x000200f8, 0x000000b0, 0x000700f5, 0x00000009, 0x000002c6, 0x000000ab, 0x000000a7, + 0x000000d3, 0x000000b1, 0x000700f5, 0x00000009, 0x000002c5, 0x000000ad, 0x000000a7, 0x000000d8, + 0x000000b1, 0x000700f5, 0x00000009, 0x000002c4, 0x000000ad, 0x000000a7, 0x000000dd, 0x000000b1, + 0x000700f5, 0x00000006, 0x000002c3, 0x00000066, 0x000000a7, 0x000000e0, 0x000000b1, 0x000500b0, + 0x00000097, 0x000000b7, 0x000002c3, 0x000000b6, 0x000400f6, 0x000000b2, 0x000000b1, 0x00000000, + 0x000400fa, 0x000000b7, 0x000000b1, 0x000000b2, 0x000200f8, 0x000000b1, 0x00050084, 0x00000006, + 0x000000be, 0x00000099, 0x00000095, 0x000500c7, 0x00000006, 0x000000c0, 0x000002c3, 0x00000093, + 0x00050080, 0x00000006, 0x000000c1, 0x000000be, 0x000000c0, 0x00050051, 0x00000006, 0x000000c3, + 0x0000008f, 0x00000001, 0x00050084, 0x00000006, 0x000000c4, 0x000000c3, 0x00000095, 0x000500c2, + 0x00000006, 0x000000c6, 0x000002c3, 0x0000001f, 0x00050080, 0x00000006, 0x000000c7, 0x000000c4, + 0x000000c6, 0x00050051, 0x00000006, 0x000000cc, 0x0000008f, 0x00000002, 0x00050041, 0x00000020, + 0x00000223, 0x0000001d, 0x0000001f, 0x0004003d, 0x00000006, 0x00000224, 0x00000223, 0x00050082, + 0x00000006, 0x00000225, 0x00000224, 0x00000023, 0x0007000c, 0x00000006, 0x00000226, 0x00000001, + 0x00000026, 0x000000c1, 0x00000225, 0x00050082, 0x00000006, 0x0000022a, 0x00000092, 0x00000023, + 0x0007000c, 0x00000006, 0x0000022b, 0x00000001, 0x00000026, 0x000000c7, 0x0000022a, 0x00050041, + 0x00000020, 0x0000022c, 0x0000001d, 0x00000031, 0x0004003d, 0x00000006, 0x0000022d, 0x0000022c, + 0x00050084, 0x00000006, 0x00000231, 0x000000cc, 0x00000092, 0x00050080, 0x00000006, 0x00000233, + 0x00000231, 0x0000022b, 0x00050084, 0x00000006, 0x00000236, 0x00000233, 0x00000224, 0x00050080, + 0x00000006, 0x00000237, 0x0000022d, 0x00000236, 0x00050080, 0x00000006, 0x00000239, 0x00000237, + 0x00000226, 0x00060041, 0x00000040, 0x0000023a, 0x00000030, 0x00000031, 0x00000239, 0x0004003d, + 0x00000006, 0x0000023b, 0x0000023a, 0x000500c2, 0x00000006, 0x0000023e, 0x0000023b, 0x00000045, + 0x000500c2, 0x00000006, 0x00000240, 0x0000023b, 0x00000048, 0x000500c2, 0x00000006, 0x00000242, + 0x0000023b, 0x0000004b, 0x00070050, 0x0000004d, 0x00000243, 0x0000023b, 0x0000023e, 0x00000240, + 0x00000242, 0x000500c7, 0x0000004d, 0x00000245, 0x00000243, 0x00000314, 0x00040070, 0x00000009, + 0x00000246, 0x00000245, 0x00050041, 0x000000a9, 0x000000ce, 0x000000ba, 0x000002c3, 0x0003003e, + 0x000000ce, 0x00000246, 0x0004003d, 0x00000009, 0x000000d2, 0x000000ce, 0x0007000c, 0x00000009, + 0x000000d3, 0x00000001, 0x00000025, 0x000002c6, 0x000000d2, 0x0004003d, 0x00000009, 0x000000d7, + 0x000000ce, 0x0007000c, 0x00000009, 0x000000d8, 0x00000001, 0x00000028, 0x000002c5, 0x000000d7, + 0x0004003d, 0x00000009, 0x000000db, 0x000000ce, 0x00050081, 0x00000009, 0x000000dd, 0x000002c4, + 0x000000db, 0x00050080, 0x00000006, 0x000000e0, 0x000002c3, 0x000000df, 0x000200f9, 0x000000b0, + 0x000200f8, 0x000000b2, 0x00050085, 0x00000009, 0x000000e4, 0x000002c4, 0x0000031c, 0x00050051, + 0x00000008, 0x000000e8, 0x000002c5, 0x00000003, 0x0004006d, 0x00000006, 0x000000e9, 0x000000e8, + 0x00050051, 0x00000008, 0x000000ec, 0x000002c6, 0x00000003, 0x0004006d, 0x00000006, 0x000000ed, + 0x000000ec, 0x000500c4, 0x00000006, 0x000000f3, 0x000000ed, 0x00000045, 0x000500c5, 0x00000006, + 0x000000f4, 0x000000e9, 0x000000f3, 0x00050050, 0x000000ee, 0x000000f5, 0x000000f4, 0x00000066, + 0x000500ac, 0x00000097, 0x000000f8, 0x000000e9, 0x000000ed, 0x000300f7, 0x000000fa, 0x00000000, + 0x000400fa, 0x000000f8, 0x000000f9, 0x000000fa, 0x000200f8, 0x000000f9, 0x00050082, 0x00000006, + 0x000000fe, 0x000000e9, 0x000000ed, 0x00040070, 0x00000008, 0x000000ff, 0x000000fe, 0x000200f9, + 0x00000101, 0x000200f8, 0x00000101, 0x000700f5, 0x000000ee, 0x000002de, 0x000000f5, 0x000000f9, + 0x00000307, 0x00000104, 0x000700f5, 0x00000006, 0x000002c7, 0x00000066, 0x000000f9, 0x00000151, + 0x00000104, 0x000500b0, 0x00000097, 0x00000107, 0x000002c7, 0x000000b6, 0x000400f6, 0x00000103, + 0x00000104, 0x00000000, 0x000400fa, 0x00000107, 0x00000102, 0x00000103, 0x000200f8, 0x00000102, + 0x00040070, 0x00000008, 0x0000010a, 0x000000e9, 0x00060041, 0x000000e6, 0x0000010c, 0x000000ba, + 0x000002c7, 0x00000093, 0x0004003d, 0x00000008, 0x0000010d, 0x0000010c, 0x00050083, 0x00000008, + 0x0000010e, 0x0000010a, 0x0000010d, 0x00050085, 0x00000008, 0x00000110, 0x0000010e, 0x0000010f, + 0x00050088, 0x00000008, 0x00000112, 0x00000110, 0x000000ff, 0x0006000c, 0x00000008, 0x00000113, + 0x00000001, 0x00000001, 0x00000112, 0x0008000c, 0x00000008, 0x00000114, 0x00000001, 0x0000002b, + 0x00000113, 0x00000059, 0x0000010f, 0x0004006d, 0x00000006, 0x00000115, 0x00000114, 0x000500aa, + 0x00000097, 0x00000118, 0x00000115, 0x00000066, 0x000300f7, 0x0000011b, 0x00000000, 0x000400fa, + 0x00000118, 0x0000011a, 0x0000011c, 0x000200f8, 0x0000011a, 0x000200f9, 0x0000011b, 0x000200f8, + 0x0000011c, 0x000500aa, 0x00000097, 0x0000011f, 0x00000115, 0x0000011e, 0x000300f7, 0x00000122, + 0x00000000, 0x000400fa, 0x0000011f, 0x00000121, 0x00000123, 0x000200f8, 0x00000121, 0x000200f9, + 0x00000122, 0x000200f8, 0x00000123, 0x00050080, 0x00000006, 0x00000125, 0x00000115, 0x00000023, + 0x000200f9, 0x00000122, 0x000200f8, 0x00000122, 0x000700f5, 0x00000006, 0x000002f1, 0x00000023, + 0x00000121, 0x00000125, 0x00000123, 0x000200f9, 0x0000011b, 0x000200f8, 0x0000011b, 0x000700f5, + 0x00000006, 0x000002f2, 0x00000066, 0x0000011a, 0x000002f1, 0x00000122, 0x00050084, 0x00000006, + 0x0000012a, 0x00000093, 0x000002c7, 0x00050080, 0x00000006, 0x0000012b, 0x000000b6, 0x0000012a, + 0x000500b0, 0x00000097, 0x0000012e, 0x0000012b, 0x0000012d, 0x000300f7, 0x00000130, 0x00000000, + 0x000400fa, 0x0000012e, 0x0000012f, 0x00000130, 0x000200f8, 0x0000012f, 0x000500c4, 0x00000006, + 0x00000133, 0x000002f2, 0x0000012b, 0x00050051, 0x00000006, 0x00000135, 0x000002de, 0x00000000, + 0x000500c5, 0x00000006, 0x00000136, 0x00000135, 0x00000133, 0x00060052, 0x000000ee, 0x000002a4, + 0x00000136, 0x000002de, 0x00000000, 0x000200f9, 0x00000130, 0x000200f8, 0x00000130, 0x000700f5, + 0x000000ee, 0x000002f9, 0x000002de, 0x0000011b, 0x000002a4, 0x0000012f, 0x00050080, 0x00000006, + 0x00000139, 0x0000012a, 0x00000327, 0x000500ac, 0x00000097, 0x0000013a, 0x00000139, 0x0000012d, + 0x000300f7, 0x0000013c, 0x00000000, 0x000400fa, 0x0000013a, 0x0000013b, 0x0000013c, 0x000200f8, + 0x0000013b, 0x0007000c, 0x00000006, 0x0000013f, 0x00000001, 0x00000026, 0x0000012b, 0x0000012d, + 0x00050082, 0x00000006, 0x00000140, 0x0000012d, 0x0000013f, 0x000500c2, 0x00000006, 0x00000141, + 0x000002f2, 0x00000140, 0x000500ac, 0x00000097, 0x00000143, 0x0000012b, 0x0000012d, 0x000300f7, + 0x00000146, 0x00000000, 0x000400fa, 0x00000143, 0x00000145, 0x00000149, 0x000200f8, 0x00000145, + 0x00050080, 0x00000006, 0x00000148, 0x0000012a, 0x00000328, 0x000200f9, 0x00000146, 0x000200f8, + 0x00000149, 0x000200f9, 0x00000146, 0x000200f8, 0x00000146, 0x000700f5, 0x00000006, 0x000002f7, + 0x00000148, 0x00000145, 0x00000066, 0x00000149, 0x000500c4, 0x00000006, 0x0000014b, 0x00000141, + 0x000002f7, 0x00050051, 0x00000006, 0x0000014d, 0x000002f9, 0x00000001, 0x000500c5, 0x00000006, + 0x0000014e, 0x0000014d, 0x0000014b, 0x00060052, 0x000000ee, 0x000002a7, 0x0000014e, 0x000002f9, + 0x00000001, 0x000200f9, 0x0000013c, 0x000200f8, 0x0000013c, 0x000700f5, 0x000000ee, 0x00000307, + 0x000002f9, 0x00000130, 0x000002a7, 0x00000146, 0x000200f9, 0x00000104, 0x000200f8, 0x00000104, + 0x00050080, 0x00000006, 0x00000151, 0x000002c7, 0x000000df, 0x000200f9, 0x00000101, 0x000200f8, + 0x00000103, 0x000200f9, 0x000000fa, 0x000200f8, 0x000000fa, 0x000700f5, 0x000000ee, 0x000002dd, + 0x000000f5, 0x000000b2, 0x000002de, 0x00000103, 0x0008004f, 0x00000010, 0x00000154, 0x000002c6, + 0x000002c6, 0x00000000, 0x00000001, 0x00000002, 0x0008004f, 0x00000010, 0x00000157, 0x000002c5, + 0x000002c5, 0x00000000, 0x00000001, 0x00000002, 0x000200f9, 0x0000015b, 0x000200f8, 0x0000015b, + 0x000700f5, 0x00000008, 0x000002d1, 0x00000059, 0x000000fa, 0x00000177, 0x0000015c, 0x000700f5, + 0x00000008, 0x000002cd, 0x00000059, 0x000000fa, 0x00000170, 0x0000015c, 0x000700f5, 0x00000006, + 0x000002cc, 0x00000066, 0x000000fa, 0x00000179, 0x0000015c, 0x000500b0, 0x00000097, 0x00000161, + 0x000002cc, 0x000000b6, 0x000400f6, 0x0000015d, 0x0000015c, 0x00000000, 0x000400fa, 0x00000161, + 0x0000015c, 0x0000015d, 0x000200f8, 0x0000015c, 0x00050041, 0x000000a9, 0x00000164, 0x000000ba, + 0x000002cc, 0x0004003d, 0x00000009, 0x00000165, 0x00000164, 0x0008004f, 0x00000010, 0x00000166, + 0x00000165, 0x00000165, 0x00000000, 0x00000001, 0x00000002, 0x0008004f, 0x00000010, 0x00000168, + 0x000000e4, 0x000000e4, 0x00000000, 0x00000001, 0x00000002, 0x00050083, 0x00000010, 0x00000169, + 0x00000166, 0x00000168, 0x00050051, 0x00000008, 0x0000016b, 0x00000169, 0x00000000, 0x00050051, + 0x00000008, 0x0000016d, 0x00000169, 0x00000001, 0x00050085, 0x00000008, 0x0000016e, 0x0000016b, + 0x0000016d, 0x00050081, 0x00000008, 0x00000170, 0x000002cd, 0x0000016e, 0x00050051, 0x00000008, + 0x00000172, 0x00000169, 0x00000002, 0x00050085, 0x00000008, 0x00000175, 0x00000172, 0x0000016d, + 0x00050081, 0x00000008, 0x00000177, 0x000002d1, 0x00000175, 0x00050080, 0x00000006, 0x00000179, + 0x000002cc, 0x000000df, 0x000200f9, 0x0000015b, 0x000200f8, 0x0000015d, 0x000500b8, 0x00000097, + 0x0000017b, 0x000002cd, 0x00000059, 0x000300f7, 0x0000017d, 0x00000000, 0x000400fa, 0x0000017b, + 0x0000017c, 0x0000017d, 0x000200f8, 0x0000017c, 0x00050051, 0x00000008, 0x00000180, 0x000002c6, + 0x00000000, 0x00050051, 0x00000008, 0x00000182, 0x000002c5, 0x00000000, 0x00060052, 0x00000010, + 0x000002af, 0x00000182, 0x00000154, 0x00000000, 0x00060052, 0x00000010, 0x000002b1, 0x00000180, + 0x00000157, 0x00000000, 0x000200f9, 0x0000017d, 0x000200f8, 0x0000017d, 0x000700f5, 0x00000010, + 0x000002d3, 0x00000157, 0x0000015d, 0x000002b1, 0x0000017c, 0x000700f5, 0x00000010, 0x000002d2, + 0x00000154, 0x0000015d, 0x000002af, 0x0000017c, 0x000500b8, 0x00000097, 0x00000187, 0x000002d1, + 0x00000059, 0x000300f7, 0x00000189, 0x00000000, 0x000400fa, 0x00000187, 0x00000188, 0x00000189, + 0x000200f8, 0x00000188, 0x00050051, 0x00000008, 0x0000018c, 0x000002d2, 0x00000002, 0x00050051, + 0x00000008, 0x0000018e, 0x000002d3, 0x00000002, 0x00060052, 0x00000010, 0x000002b5, 0x0000018e, + 0x000002d2, 0x00000002, 0x00060052, 0x00000010, 0x000002b7, 0x0000018c, 0x000002d3, 0x00000002, + 0x000200f9, 0x00000189, 0x000200f8, 0x00000189, 0x000700f5, 0x00000010, 0x000002d5, 0x000002d2, + 0x0000017d, 0x000002b5, 0x00000188, 0x000700f5, 0x00000010, 0x000002d4, 0x000002d3, 0x0000017d, + 0x000002b7, 0x00000188, 0x00050083, 0x00000010, 0x00000195, 0x000002d4, 0x000002d5, 0x00050085, + 0x00000010, 0x00000197, 0x00000195, 0x0000031d, 0x00050083, 0x00000010, 0x0000019b, 0x000002d4, + 0x00000197, 0x0008000c, 0x00000010, 0x0000024d, 0x00000001, 0x0000002b, 0x0000019b, 0x00000319, + 0x0000031a, 0x00050085, 0x00000010, 0x00000250, 0x0000024d, 0x00000322, 0x0006000c, 0x00000010, + 0x00000251, 0x00000001, 0x00000001, 0x00000250, 0x0004006d, 0x00000055, 0x00000252, 0x00000251, + 0x00050051, 0x00000006, 0x00000254, 0x00000252, 0x00000000, 0x000500c4, 0x00000006, 0x00000255, + 0x00000254, 0x00000069, 0x00050051, 0x00000006, 0x00000257, 0x00000252, 0x00000001, 0x000500c4, + 0x00000006, 0x00000258, 0x00000257, 0x0000006d, 0x000500c5, 0x00000006, 0x00000259, 0x00000255, + 0x00000258, 0x00050051, 0x00000006, 0x0000025b, 0x00000252, 0x00000002, 0x000500c5, 0x00000006, + 0x0000025c, 0x00000259, 0x0000025b, 0x00050081, 0x00000010, 0x000001a1, 0x000002d5, 0x00000197, + 0x0008000c, 0x00000010, 0x00000263, 0x00000001, 0x0000002b, 0x000001a1, 0x00000319, 0x0000031a, + 0x00050085, 0x00000010, 0x00000266, 0x00000263, 0x00000322, 0x0006000c, 0x00000010, 0x00000267, + 0x00000001, 0x00000001, 0x00000266, 0x0004006d, 0x00000055, 0x00000268, 0x00000267, 0x00050051, + 0x00000006, 0x0000026a, 0x00000268, 0x00000000, 0x000500c4, 0x00000006, 0x0000026b, 0x0000026a, + 0x00000069, 0x00050051, 0x00000006, 0x0000026d, 0x00000268, 0x00000001, 0x000500c4, 0x00000006, + 0x0000026e, 0x0000026d, 0x0000006d, 0x000500c5, 0x00000006, 0x0000026f, 0x0000026b, 0x0000026e, + 0x00050051, 0x00000006, 0x00000271, 0x00000268, 0x00000002, 0x000500c5, 0x00000006, 0x00000272, + 0x0000026f, 0x00000271, 0x000500ab, 0x00000097, 0x000001a7, 0x0000025c, 0x00000272, 0x000300f7, + 0x000001a9, 0x00000000, 0x000400fa, 0x000001a7, 0x000001a8, 0x000001a9, 0x000200f8, 0x000001a8, + 0x000500b0, 0x00000097, 0x000001ac, 0x0000025c, 0x00000272, 0x000600a9, 0x00000006, 0x00000329, + 0x000001ac, 0x0000025c, 0x00000272, 0x000600a9, 0x00000006, 0x0000032a, 0x000001ac, 0x00000272, + 0x0000025c, 0x000500c2, 0x00000006, 0x00000276, 0x0000032a, 0x00000069, 0x000500c7, 0x00000006, + 0x00000277, 0x00000276, 0x00000078, 0x00040070, 0x00000008, 0x00000278, 0x00000277, 0x00050085, + 0x00000008, 0x0000027a, 0x00000278, 0x00000324, 0x000500c2, 0x00000006, 0x0000027c, 0x0000032a, + 0x0000006d, 0x000500c7, 0x00000006, 0x0000027d, 0x0000027c, 0x0000007f, 0x00040070, 0x00000008, + 0x0000027e, 0x0000027d, 0x00050085, 0x00000008, 0x00000280, 0x0000027e, 0x00000326, 0x000500c7, + 0x00000006, 0x00000282, 0x0000032a, 0x00000078, 0x00040070, 0x00000008, 0x00000283, 0x00000282, + 0x00050085, 0x00000008, 0x00000285, 0x00000283, 0x00000324, 0x00060050, 0x00000010, 0x00000286, + 0x0000027a, 0x00000280, 0x00000285, 0x000500c2, 0x00000006, 0x0000028a, 0x00000329, 0x00000069, + 0x000500c7, 0x00000006, 0x0000028b, 0x0000028a, 0x00000078, 0x00040070, 0x00000008, 0x0000028c, + 0x0000028b, 0x00050085, 0x00000008, 0x0000028e, 0x0000028c, 0x00000324, 0x000500c2, 0x00000006, + 0x00000290, 0x00000329, 0x0000006d, 0x000500c7, 0x00000006, 0x00000291, 0x00000290, 0x0000007f, + 0x00040070, 0x00000008, 0x00000292, 0x00000291, 0x00050085, 0x00000008, 0x00000294, 0x00000292, + 0x00000326, 0x000500c7, 0x00000006, 0x00000296, 0x00000329, 0x00000078, 0x00040070, 0x00000008, + 0x00000297, 0x00000296, 0x00050085, 0x00000008, 0x00000299, 0x00000297, 0x00000324, 0x00060050, + 0x00000010, 0x0000029a, 0x0000028e, 0x00000294, 0x00000299, 0x00050083, 0x00000010, 0x000001be, + 0x0000029a, 0x00000286, 0x00050094, 0x00000008, 0x000001c2, 0x000001be, 0x000001be, 0x0007000c, + 0x00000008, 0x000001c4, 0x00000001, 0x00000028, 0x000001c2, 0x000001c3, 0x000200f9, 0x000001c6, + 0x000200f8, 0x000001c6, 0x000700f5, 0x00000006, 0x000002e6, 0x00000066, 0x000001a8, 0x000001f3, + 0x000001c9, 0x000700f5, 0x00000006, 0x000002d8, 0x00000066, 0x000001a8, 0x000001f5, 0x000001c9, + 0x000500b0, 0x00000097, 0x000001cc, 0x000002d8, 0x000000b6, 0x000400f6, 0x000001c8, 0x000001c9, + 0x00000000, 0x000400fa, 0x000001cc, 0x000001c7, 0x000001c8, 0x000200f8, 0x000001c7, 0x00050041, + 0x000000a9, 0x000001cf, 0x000000ba, 0x000002d8, 0x0004003d, 0x00000009, 0x000001d0, 0x000001cf, + 0x0008004f, 0x00000010, 0x000001d1, 0x000001d0, 0x000001d0, 0x00000000, 0x00000001, 0x00000002, + 0x00050083, 0x00000010, 0x000001d3, 0x000001d1, 0x00000286, 0x00050094, 0x00000008, 0x000001d5, + 0x000001d3, 0x000001be, 0x00050088, 0x00000008, 0x000001d7, 0x000001d5, 0x000001c4, 0x00050085, + 0x00000008, 0x000001d9, 0x000001d7, 0x000001d8, 0x0006000c, 0x00000008, 0x000001da, 0x00000001, + 0x00000001, 0x000001d9, 0x0008000c, 0x00000008, 0x000001db, 0x00000001, 0x0000002b, 0x000001da, + 0x00000059, 0x000001d8, 0x0004006d, 0x00000006, 0x000001dc, 0x000001db, 0x000500aa, 0x00000097, + 0x000001df, 0x000001dc, 0x00000066, 0x000300f7, 0x000001e2, 0x00000000, 0x000400fa, 0x000001df, + 0x000001e1, 0x000001e3, 0x000200f8, 0x000001e1, 0x000200f9, 0x000001e2, 0x000200f8, 0x000001e3, + 0x000500aa, 0x00000097, 0x000001e5, 0x000001dc, 0x00000093, 0x000300f7, 0x000001e8, 0x00000000, + 0x000400fa, 0x000001e5, 0x000001e7, 0x000001e9, 0x000200f8, 0x000001e7, 0x000200f9, 0x000001e8, + 0x000200f8, 0x000001e9, 0x00050080, 0x00000006, 0x000001eb, 0x000001dc, 0x00000023, 0x000200f9, + 0x000001e8, 0x000200f8, 0x000001e8, 0x000700f5, 0x00000006, 0x000002e8, 0x00000023, 0x000001e7, + 0x000001eb, 0x000001e9, 0x000200f9, 0x000001e2, 0x000200f8, 0x000001e2, 0x000700f5, 0x00000006, + 0x000002e9, 0x00000066, 0x000001e1, 0x000002e8, 0x000001e8, 0x00050084, 0x00000006, 0x000001f0, + 0x00000070, 0x000002d8, 0x000500c4, 0x00000006, 0x000001f1, 0x000002e9, 0x000001f0, 0x000500c5, + 0x00000006, 0x000001f3, 0x000002e6, 0x000001f1, 0x000200f9, 0x000001c9, 0x000200f8, 0x000001c9, + 0x00050080, 0x00000006, 0x000001f5, 0x000002d8, 0x000000df, 0x000200f9, 0x000001c6, 0x000200f8, + 0x000001c8, 0x000200f9, 0x000001a9, 0x000200f8, 0x000001a9, 0x000700f5, 0x00000006, 0x000002e5, + 0x00000066, 0x00000189, 0x000002e6, 0x000001c8, 0x000700f5, 0x00000006, 0x000002e3, 0x00000272, + 0x00000189, 0x00000329, 0x000001c8, 0x000700f5, 0x00000006, 0x000002e1, 0x0000025c, 0x00000189, + 0x0000032a, 0x000001c8, 0x00050041, 0x00000020, 0x000001fa, 0x0000001d, 0x000000df, 0x0004003d, + 0x00000006, 0x000001fb, 0x000001fa, 0x00050051, 0x00000006, 0x000001fd, 0x0000008f, 0x00000002, + 0x00050041, 0x00000020, 0x000001fe, 0x0000001d, 0x0000006d, 0x0004003d, 0x00000006, 0x000001ff, + 0x000001fe, 0x00050084, 0x00000006, 0x00000200, 0x000001fd, 0x000001ff, 0x00050080, 0x00000006, + 0x00000201, 0x000001fb, 0x00000200, 0x00050051, 0x00000006, 0x00000203, 0x0000008f, 0x00000001, + 0x00050084, 0x00000006, 0x00000206, 0x00000203, 0x0000009c, 0x00050080, 0x00000006, 0x00000207, + 0x00000201, 0x00000206, 0x00050080, 0x00000006, 0x0000020a, 0x00000207, 0x00000099, 0x00050051, + 0x00000006, 0x0000020c, 0x000002dd, 0x00000000, 0x00050051, 0x00000006, 0x0000020e, 0x000002dd, + 0x00000001, 0x000500c4, 0x00000006, 0x00000211, 0x000002e3, 0x00000048, 0x000500c5, 0x00000006, + 0x00000212, 0x000002e1, 0x00000211, 0x00070050, 0x0000004d, 0x00000214, 0x0000020c, 0x0000020e, + 0x00000212, 0x000002e5, 0x00060041, 0x00000215, 0x00000216, 0x000001f9, 0x00000031, 0x0000020a, + 0x0003003e, 0x00000216, 0x00000214, 0x000200f9, 0x00000219, 0x000200f8, 0x00000219, 0x000100fd, + 0x00010038, }; diff --git a/runtime/shaders/bc3_encode.comp b/runtime/shaders/bc3_encode.comp index 327122d0..1109d8c2 100644 --- a/runtime/shaders/bc3_encode.comp +++ b/runtime/shaders/bc3_encode.comp @@ -7,6 +7,11 @@ // then each texel takes the nearest of the four palette entries along that axis. Alpha: the eight-value BC3 alpha // block between the block's smallest and largest alpha. The bytes are what the texels hold, so an sRGB image keeps // sRGB-encoded values, as BC3_SRGB expects. +// +// The texel bytes are read as integers, so the alpha endpoints are exactly the block's least and greatest alpha: a +// texel that is fully transparent or fully opaque keeps 0 or 255, wherever the source's own block edges fall inside +// the 4x4 block, and an alpha test keeps the outline of cut-out foliage. Through unpackUnorm4x8 an opaque 255 could +// come back as 254.99 on a GPU whose division is not exact and be cut to 254 by the conversion to uint. // Compiled to runtime/bc3_encode_spv.h by tools/build_shaders.py; vk_astc.c records the dispatch. #version 450 @@ -25,7 +30,8 @@ layout(push_constant) uniform Params { vec4 texel(uint x, uint y, uint z) { x = min(x, pc.width - 1u), y = min(y, pc.height - 1u); - return unpackUnorm4x8(px[pc.in_base + (z * pc.height + y) * pc.width + x]) * 255.0; + uint v = px[pc.in_base + (z * pc.height + y) * pc.width + x]; + return vec4(uvec4(v, v >> 8, v >> 16, v >> 24) & 0xFFu); } uint to565(vec3 c) {