diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-04-03 04:20:22 +0200 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-04-03 04:20:22 +0200 |
commit | 8ed894bd17bd6f426a0d87f7113f23043cda3bc3 (patch) | |
tree | c6369097498d12d1a78e3affab3559a0e01b5f7a | |
parent | 7f21b63a988a041bca120751c795f6f6abf0f2bd (diff) |
nv10: emit dummy zeta size when no zbuffer is used.
-rw-r--r-- | src/gallium/drivers/nv10/nv10_state_emit.c | 2 |
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 18566986b0..edc194588d 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; |