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

Author: Christoph Bumiller <e0425...@student.tuwien.ac.at>
Date:   Wed Apr  3 01:17:46 2013 +0200

nvc0: fix 128 bit compressed storage type selection

---

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

diff --git a/src/gallium/drivers/nvc0/nvc0_miptree.c 
b/src/gallium/drivers/nvc0/nvc0_miptree.c
index 2913363..3d50735 100644
--- a/src/gallium/drivers/nvc0/nvc0_miptree.c
+++ b/src/gallium/drivers/nvc0/nvc0_miptree.c
@@ -82,7 +82,7 @@ nvc0_mt_choose_storage_type(struct nv50_miptree *mt, boolean 
compressed)
       switch (util_format_get_blocksizebits(mt->base.base.format)) {
       case 128:
          if (compressed)
-            tile_flags = 0xf4 + ms;
+            tile_flags = 0xf4 + ms * 2;
          else
             tile_flags = 0xfe;
          break;

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

Reply via email to