diff options
author | Cooper Yuan <cooperyuan@gmail.com> | 2009-09-05 10:26:39 +0800 |
---|---|---|
committer | Cooper Yuan <cooperyuan@gmail.com> | 2009-09-05 10:26:39 +0800 |
commit | 8f990f928b1d6cb395ea4f3d4c1d7e3a670f1ad6 (patch) | |
tree | ad24b7e8657a024a4475ca5be3dd627d60d86160 | |
parent | 9ab19a39001ab5b6afa71a4d1f16714e6907b67c (diff) |
r300g: need to validate scissor and viewport state if bind new rasterizer
-rw-r--r-- | 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 c16cadd040..5642aed663 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. */ |