From: Cooper Yuan Date: Sat, 5 Sep 2009 02:26:39 +0000 (+0800) Subject: r300g: need to validate scissor and viewport state if bind new rasterizer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f990f928b1d6cb395ea4f3d4c1d7e3a670f1ad6;p=mesa.git r300g: need to validate scissor and viewport state if bind new rasterizer --- 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. */