Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created September 20, 2019 00:08
Show Gist options
  • Save anarsoul/a3cf7fb28570ffd048986ffd6e7edce8 to your computer and use it in GitHub Desktop.
Save anarsoul/a3cf7fb28570ffd048986ffd6e7edce8 to your computer and use it in GitHub Desktop.
diff --git a/src/mesa/state_tracker/st_atom.c b/src/mesa/state_tracker/st_atom.c
index 49f79ad9d49..0fa7ef2f0e3 100644
--- a/src/mesa/state_tracker/st_atom.c
+++ b/src/mesa/state_tracker/st_atom.c
@@ -133,7 +133,7 @@ static void check_program_state( struct st_context *st )
dirty |= ST_NEW_VIEWPORT;
if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports))
- dirty |= ST_NEW_SCISSOR;
+ dirty |= (ST_NEW_SCISSOR | ST_NEW_RASTERIZER);
}
st->dirty |= dirty;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment