summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-08 13:35:36 +0100
committerMarek Olšák <[email protected]>2014-12-10 21:59:37 +0100
commit3291eedfe601b9d09023fb24987ae7d2c7e977c3 (patch)
tree2f38c095af88dfc54b72a8f20fc32c20799c835f /src/gallium/drivers/radeonsi/si_state.c
parentacda2e113a020f9ab32d6d38a07d74f77520f462 (diff)
radeonsi: only emit line stippling and provoking vertex state when it changes
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index fe9666f5f99..1bb1f69044c 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -711,6 +711,7 @@ static void si_bind_rs_state(struct pipe_context *ctx, void *state)
si_update_fb_rs_state(sctx);
sctx->clip_regs.dirty = true;
+ sctx->last_rast_prim = -1; /* reset this so that it gets updated */
}
static void si_delete_rs_state(struct pipe_context *ctx, void *state)