summaryrefslogtreecommitdiff
path: root/thirdparty/cvtt/ConvectionKernels_ETC2_Rounding.h
blob: a4f5a3ddfa59632e4f3602bd520062448550c9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include <stdint.h>

// This file is generated by the MakeTables app.  Do not edit this file manually.

namespace cvtt { namespace Tables { namespace ETC2 {
    const int g_alphaRoundingTableWidth = 13;
    const uint8_t g_alphaRoundingTables[16][13] =
    {
        { 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 },
        { 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3 },
        { 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 },
        { 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3 },
        { 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3 },
        { 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
        { 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
        { 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3 },
        { 0, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3 },
        { 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 3, 3, 3 },
        { 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
    };
}}}