419b342a9a
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
17 lines
490 B
C++
17 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);
|
|
}}}
|