From: Christoph Bumiller Date: Tue, 2 Apr 2013 23:17:46 +0000 (+0200) Subject: nvc0: fix 128 bit compressed storage type selection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4de70bf43c5715711b1d287590470df16e6cf837;p=mesa.git nvc0: fix 128 bit compressed storage type selection --- 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;