summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv50_miptree.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-09-12 01:26:15 -0400
committerIlia Mirkin <[email protected]>2014-09-25 22:15:49 -0400
commitb49dfb68edd6b9c9f8fb45db3e5acb07fe87644d (patch)
tree7eb30ae917d7e08c1d37602908653af19526579a /src/gallium/drivers/nouveau/nv50/nv50_miptree.c
parentdb11eb92cfb5a9e7bd1a65a6bd693eaf15e4269a (diff)
nv50,nvc0: add missing depth/stencil formats to tile flag selection
Reported-by: David Heidelberger <[email protected]> Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_miptree.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_miptree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_miptree.c b/src/gallium/drivers/nouveau/nv50/nv50_miptree.c
index 14e5a0da077..1aacaec89ac 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_miptree.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_miptree.c
@@ -78,9 +78,12 @@ nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed)
case PIPE_FORMAT_Z16_UNORM:
tile_flags = 0x6c + ms;
break;
+ case PIPE_FORMAT_X8Z24_UNORM:
+ case PIPE_FORMAT_S8X24_UINT:
case PIPE_FORMAT_S8_UINT_Z24_UNORM:
tile_flags = 0x18 + ms;
break;
+ case PIPE_FORMAT_X24S8_UINT:
case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
tile_flags = 0x128 + ms;
@@ -88,6 +91,7 @@ nv50_mt_choose_storage_type(struct nv50_miptree *mt, boolean compressed)
case PIPE_FORMAT_Z32_FLOAT:
tile_flags = 0x40 + ms;
break;
+ case PIPE_FORMAT_X32_S8X24_UINT:
case PIPE_FORMAT_Z32_FLOAT_S8X24_UINT:
tile_flags = 0x60 + ms;
break;