summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10
diff options
context:
space:
mode:
authorStephane Marchesin <[email protected]>2008-04-03 04:20:22 +0200
committerStephane Marchesin <[email protected]>2008-04-03 04:20:22 +0200
commit8ed894bd17bd6f426a0d87f7113f23043cda3bc3 (patch)
treec6369097498d12d1a78e3affab3559a0e01b5f7a /src/gallium/drivers/nv10
parent7f21b63a988a041bca120751c795f6f6abf0f2bd (diff)
nv10: emit dummy zeta size when no zbuffer is used.
Diffstat (limited to 'src/gallium/drivers/nv10')
-rw-r--r--src/gallium/drivers/nv10/nv10_state_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv10/nv10_state_emit.c b/src/gallium/drivers/nv10/nv10_state_emit.c
index 18566986b06..edc194588d1 100644
--- a/src/gallium/drivers/nv10/nv10_state_emit.c
+++ b/src/gallium/drivers/nv10/nv10_state_emit.c
@@ -141,7 +141,7 @@ static void nv10_state_emit_framebuffer(struct nv10_context* nv10)
OUT_RING ( (rt->pitch * rt->cpp) | ( (zeta->pitch * zeta->cpp) << 16) );
} else {
BEGIN_RING(celsius, NV10TCL_RT_PITCH, 1);
- OUT_RING ( (rt->pitch * rt->cpp) );
+ OUT_RING ( (rt->pitch * rt->cpp) | ( (rt->pitch * rt->cpp) << 16) );
}
nv10->rt[0] = rt->buffer;