Merge pull request #3832 from raven02/patch-15

Regression fix #3797 - DXT1/3/5 texture bufw
This commit is contained in:
Henrik Rydgård committed 2013-09-19 11:43:36 -07:00
commit 0d0c73aac0
1 file changed
+4 -4
+4 -4
View File
@@ -50,9 +50,9 @@ static const u32 textureAlignMask16[16] = {
0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_CLUT8,
0x7FF & ~(((8 * 16) / 16) - 1), //GE_TFMT_CLUT16,
0x7FF & ~(((8 * 16) / 32) - 1), //GE_TFMT_CLUT32,
0x7FF & ~(((8 * 16) / 4) - 1), //GE_TFMT_DXT1,
0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_DXT3,
0x7FF & ~(((8 * 16) / 8) - 1), //GE_TFMT_DXT5,
0x7FF, //GE_TFMT_DXT1,
0x7FF, //GE_TFMT_DXT3,
0x7FF, //GE_TFMT_DXT5,
0, // INVALID,
0, // INVALID,
0, // INVALID,
@@ -71,4 +71,4 @@ static inline u32 GetTextureBufw(int level, u32 texaddr, GETextureFormat format)
bufw = (8 * 16) / textureBitsPerPixel[format];
}
return bufw;
}
}