summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCooper Yuan <[email protected]>2009-09-05 10:26:39 +0800
committerCooper Yuan <[email protected]>2009-09-05 10:26:39 +0800
commit8f990f928b1d6cb395ea4f3d4c1d7e3a670f1ad6 (patch)
treead24b7e8657a024a4475ca5be3dd627d60d86160
parent9ab19a39001ab5b6afa71a4d1f16714e6907b67c (diff)
r300g: need to validate scissor and viewport state if bind new rasterizer
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
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 c16cadd0407..5642aed663c 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. */