summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-03-31 20:10:23 +0200
committerChristoph Bumiller <[email protected]>2013-04-03 12:54:43 +0200
commit7628cc247feecfb31aff97f47f039ebe476f0ca8 (patch)
tree70bb276f349835945d3e47555984b8812a06877a /src
parentea12fc3f6c154ac32573f6c0039af21676ad1c18 (diff)
nvc0: disable compressed storage type 0xdb for now
Single-sample color compression doesn't seem that useful anyway.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_miptree.c4
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 11368043236..412cca42c62 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;