Fixed texture tiling format for 8bit texels on ProSavage and Twister.
authorFelix Kuehling <fxkuehl@gmx.de>
Sun, 7 Mar 2004 23:32:31 +0000 (23:32 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Sun, 7 Mar 2004 23:32:31 +0000 (23:32 +0000)
src/mesa/drivers/dri/savage/savagetex.c

index f92d3ba..45d347b 100644 (file)
  *    x 1
  */
 static const savageTileInfo tileInfo_pro[5] = {
-    {64, 64, 8, 8, 8, 8, {0x12, 0x02}}, /* 4-bit */
-    {64, 32, 8, 4, 8, 8, {0x24, 0x04}}, /* 8-bit */
-    {64, 16, 8, 2, 8, 8, {0x48, 0x08}}, /* 16-bit */
-    { 0,  0, 0, 0, 0, 0, {0x00, 0x00}}, /* 24-bit */
-    {32, 16, 4, 2, 8, 8, {0x90, 0x10}}, /* 32-bit */
+    {64, 64,  8, 8, 8, 8, {0x12, 0x02}}, /* 4-bit */
+    {64, 32, 16, 4, 4, 8, {0x30, 0x20}}, /* 8-bit */
+    {64, 16,  8, 2, 8, 8, {0x48, 0x08}}, /* 16-bit */
+    { 0,  0,  0, 0, 0, 0, {0x00, 0x00}}, /* 24-bit */
+    {32, 16,  4, 2, 8, 8, {0x90, 0x10}}, /* 32-bit */
 };
 
 /* Size 1, 2 and 4 images are packed into the last two subtiles. Each