From: Luca Barbieri Date: Sat, 4 Sep 2010 00:37:41 +0000 (+0200) Subject: nvfx: add missing pushbuffer space check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dd296bcb106bccf6b7fb070d4bc877d9612642d;p=mesa.git nvfx: add missing pushbuffer space check --- diff --git a/src/gallium/drivers/nvfx/nvfx_state_fb.c b/src/gallium/drivers/nvfx/nvfx_state_fb.c index 3b869d43a15..54855290a98 100644 --- a/src/gallium/drivers/nvfx/nvfx_state_fb.c +++ b/src/gallium/drivers/nvfx/nvfx_state_fb.c @@ -167,6 +167,8 @@ nvfx_framebuffer_validate(struct nvfx_context *nvfx, unsigned prepare_result) else rt_format |= NV34TCL_RT_FORMAT_ZETA_Z24S8; + MARK_RING(chan, 44, 10); + if ((rt_enable & NV34TCL_RT_ENABLE_COLOR0) || fb->zsbuf) { struct nvfx_render_target *rt0 = &nvfx->hw_rt[0]; uint32_t pitch;