Module: Mesa
Branch: master
Commit: 7628cc247feecfb31aff97f47f039ebe476f0ca8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7628cc247feecfb31aff97f47f039ebe476f0ca8

Author: Christoph Bumiller <e0425...@student.tuwien.ac.at>
Date:   Sun Mar 31 20:10:23 2013 +0200

nvc0: disable compressed storage type 0xdb for now

Single-sample color compression doesn't seem that useful anyway.

---

 src/gallium/drivers/nvc0/nvc0_miptree.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nvc0/nvc0_miptree.c 
b/src/gallium/drivers/nvc0/nvc0_miptree.c
index 1136804..412cca4 100644
--- a/src/gallium/drivers/nvc0/nvc0_miptree.c
+++ b/src/gallium/drivers/nvc0/nvc0_miptree.c
@@ -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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to