From 4de70bf43c5715711b1d287590470df16e6cf837 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Wed, 3 Apr 2013 01:17:46 +0200 Subject: [PATCH] nvc0: fix 128 bit compressed storage type selection --- src/gallium/drivers/nvc0/nvc0_miptree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvc0/nvc0_miptree.c b/src/gallium/drivers/nvc0/nvc0_miptree.c index 2913363bf99..3d50735c058 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; -- 2.30.2