diff options
author | Marek Olšák <[email protected]> | 2015-03-15 19:21:31 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-03-16 12:54:19 +0100 |
commit | 1f4bb3826464e2ce1d3f47183c96e6e7fde9a1d7 (patch) | |
tree | 464396926ec1edb58a98a1f7f654ee1504beb0f8 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | f5832f3f9dd0ac0b401d351acab19425fe3c1187 (diff) |
radeonsi: don't emit PA_SC_LINE_STIPPLE after every rasterizer state change
Do it only when the line stipple state is changed.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 8cfaf708183..29f01f35d38 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -162,7 +162,6 @@ struct si_context { struct si_framebuffer framebuffer; struct si_vertex_element *vertex_elements; - unsigned pa_sc_line_stipple; /* for saving when using blitter */ struct pipe_stencil_ref stencil_ref; /* shaders */ @@ -227,6 +226,7 @@ struct si_context { int last_prim; int last_multi_vgt_param; int last_rast_prim; + unsigned last_sc_line_stipple; int current_rast_prim; /* primitive type after TES, GS */ /* Scratch buffer */ |