mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 23:07:48 +00:00
Fix some compiler warnings.
This commit is contained in:
parent
037cb0951b
commit
e06f60c536
1 changed files with 3 additions and 2 deletions
|
@ -117,12 +117,13 @@ class CompressionMode {
|
||||||
// BPTC block. The mode determines how these parameters will be translated
|
// BPTC block. The mode determines how these parameters will be translated
|
||||||
// into actual bits.
|
// into actual bits.
|
||||||
struct Params {
|
struct Params {
|
||||||
const uint16 m_ShapeIdx;
|
|
||||||
RGBAVector m_P1[kMaxNumSubsets], m_P2[kMaxNumSubsets];
|
RGBAVector m_P1[kMaxNumSubsets], m_P2[kMaxNumSubsets];
|
||||||
uint8 m_Indices[kMaxNumSubsets][kMaxNumDataPoints];
|
uint8 m_Indices[kMaxNumSubsets][kMaxNumDataPoints];
|
||||||
uint8 m_AlphaIndices[kMaxNumDataPoints];
|
uint8 m_AlphaIndices[kMaxNumDataPoints];
|
||||||
uint8 m_PbitCombo[kMaxNumSubsets];
|
uint8 m_PbitCombo[kMaxNumSubsets];
|
||||||
int8 m_RotationMode, m_IndexMode;
|
int8 m_RotationMode;
|
||||||
|
int8 m_IndexMode;
|
||||||
|
const uint16 m_ShapeIdx;
|
||||||
explicit Params(uint32 shape)
|
explicit Params(uint32 shape)
|
||||||
: m_RotationMode(-1), m_IndexMode(-1), m_ShapeIdx(shape) {
|
: m_RotationMode(-1), m_IndexMode(-1), m_ShapeIdx(shape) {
|
||||||
memset(m_Indices, 0xFF, sizeof(m_Indices));
|
memset(m_Indices, 0xFF, sizeof(m_Indices));
|
||||||
|
|
Loading…
Reference in a new issue