From: Stephane Marchesin Date: Thu, 3 Apr 2008 02:20:22 +0000 (+0200) Subject: nv10: emit dummy zeta size when no zbuffer is used. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed894bd17bd6f426a0d87f7113f23043cda3bc3;p=mesa.git nv10: emit dummy zeta size when no zbuffer is used. --- 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;