Browse Source

Fixed texture tiling format for 8bit texels on ProSavage and Twister.

tags/R300_DRIVER_0
Felix Kuehling 21 years ago
parent
commit
a5c68c872d
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/mesa/drivers/dri/savage/savagetex.c

+ 5
- 5
src/mesa/drivers/dri/savage/savagetex.c View File

@@ -52,11 +52,11 @@
* 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

Loading…
Cancel
Save