diff options
author | Luca Barbieri <[email protected]> | 2010-09-04 02:37:41 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-04 02:37:41 +0200 |
commit | 5dd296bcb106bccf6b7fb070d4bc877d9612642d (patch) | |
tree | ea8ae375f14e614be981ef1b15a5bfa268acc2d0 /src/gallium | |
parent | 351a669465e2fc8c3108f0eab751f24bc0976264 (diff) |
nvfx: add missing pushbuffer space check
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_state_fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |