nvc0: disable compressed storage type 0xdb for now
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 31 Mar 2013 18:10:23 +0000 (20:10 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 3 Apr 2013 10:54:43 +0000 (12:54 +0200)
Single-sample color compression doesn't seem that useful anyway.

src/gallium/drivers/nvc0/nvc0_miptree.c

index 11368043236d1c1e1eb6ed76c1bf38aeaa0d2005..412cca42c62c1389871e65d579ad0aa3574794ba 100644 (file)
@@ -101,9 +101,11 @@ nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed)
          }
          break;
       case 32:
-         if (compressed) {
+         if (compressed && ms) {
             switch (ms) {
+               /* This one makes things blurry:
             case 0: tile_flags = 0xdb; break;
+               */
             case 1: tile_flags = 0xdd; break;
             case 2: tile_flags = 0xdf; break;
             case 3: tile_flags = 0xe4; break;