projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351a669
)
nvfx: add missing pushbuffer space check
author
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 00:37:41 +0000
(
02:37
+0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 00:37:41 +0000
(
02:37
+0200)
src/gallium/drivers/nvfx/nvfx_state_fb.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_state_fb.c
b/src/gallium/drivers/nvfx/nvfx_state_fb.c
index 3b869d43a15a2ce62dc39214067e442a1c8c7d7b..54855290a98573eb81ce5b0cc6f68c09d3b311d5 100644
(file)
--- 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;