summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-04-03 01:17:46 +0200
committerChristoph Bumiller <[email protected]>2013-04-03 12:54:44 +0200
commit4de70bf43c5715711b1d287590470df16e6cf837 (patch)
treef41219b88e90096d1fbe0457a6a99732e1a0d291 /src/gallium
parent8e1dd58a7e76834c1fb6d117b6ea5755e05cfb77 (diff)
nvc0: fix 128 bit compressed storage type selection
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_miptree.c2
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 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;