Module: Mesa
Branch: master
Commit: 8f990f928b1d6cb395ea4f3d4c1d7e3a670f1ad6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f990f928b1d6cb395ea4f3d4c1d7e3a670f1ad6

Author: Cooper Yuan <[email protected]>
Date:   Sat Sep  5 10:26:39 2009 +0800

r300g: need to validate scissor and viewport state if bind new rasterizer

---

 src/gallium/drivers/r300/r300_state.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_state.c 
b/src/gallium/drivers/r300/r300_state.c
index c16cadd..5642aed 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -429,6 +429,8 @@ static void r300_bind_rs_state(struct pipe_context* pipe, 
void* state)
 
     r300->rs_state = rs;
     r300->dirty_state |= R300_NEW_RASTERIZER;
+    r300->dirty_state |= R300_NEW_SCISSOR;
+    r300->dirty_state |= R300_NEW_VIEWPORT;
 }
 
 /* Free rasterizer state. */

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to