From 5dd296bcb106bccf6b7fb070d4bc877d9612642d Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Sat, 4 Sep 2010 02:37:41 +0200 Subject: nvfx: add missing pushbuffer space check --- src/gallium/drivers/nvfx/nvfx_state_fb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/nvfx/nvfx_state_fb.c b/src/gallium/drivers/nvfx/nvfx_state_fb.c index 3b869d43a1..54855290a9 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; -- cgit v1.2.3