Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/cvtt/ConvectionKernels_ETC2_Rounding.h
9898 views
1
#pragma once
2
#include <stdint.h>
3
4
// This file is generated by the MakeTables app. Do not edit this file manually.
5
6
namespace cvtt { namespace Tables { namespace ETC2 {
7
const int g_alphaRoundingTableWidth = 13;
8
const uint8_t g_alphaRoundingTables[16][13] =
9
{
10
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 },
11
{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3 },
12
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 },
13
{ 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3 },
14
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3 },
15
{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3 },
16
{ 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3 },
17
{ 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
18
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3 },
19
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
20
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
21
{ 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
22
{ 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3 },
23
{ 0, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3 },
24
{ 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 3, 3, 3 },
25
{ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
26
};
27
}}}
28
29