summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_state_validate.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2009-07-01 09:15:51 +1000
committerBen Skeggs <[email protected]>2009-07-01 09:26:57 +1000
commit18a1c36c2d32f8c571f98d7e6857a44bb2dc8942 (patch)
tree072d63b08749b8a0d58b8b380bf58b1e98af9996 /src/gallium/drivers/nv50/nv50_state_validate.c
parent55e5ac17c15d9243c34633f3f4d4850394a8163d (diff)
nouveau: return some supported zeta formats
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_state_validate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 0caf4b4e914..d313e9de4fe 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -93,6 +93,7 @@ nv50_state_validate_fb(struct nv50_context *nv50)
NOUVEAU_BO_LOW | NOUVEAU_BO_RDWR, 0, 0);
switch (fb->zsbuf->format) {
case PIPE_FORMAT_Z24S8_UNORM:
+ case PIPE_FORMAT_Z24X8_UNORM:
so_data(so, 0x16);
break;
case PIPE_FORMAT_Z16_UNORM: