mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
419b342a9a
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
18 lines
490 B
C++
18 lines
490 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace cvtt { namespace Tables { namespace BC7Prio {
|
|
extern const uint16_t *g_bc7PrioCodesRGB;
|
|
extern const int g_bc7NumPrioCodesRGB;
|
|
|
|
extern const uint16_t *g_bc7PrioCodesRGBA;
|
|
extern const int g_bc7NumPrioCodesRGBA;
|
|
|
|
int UnpackMode(uint16_t packed);
|
|
int UnpackSeedPointCount(uint16_t packed);
|
|
int UnpackPartition(uint16_t packed);
|
|
int UnpackRotation(uint16_t packed);
|
|
int UnpackIndexSelector(uint16_t packed);
|
|
}}}
|