From 7628cc247feecfb31aff97f47f039ebe476f0ca8 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 31 Mar 2013 20:10:23 +0200 Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2