summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-04-18 15:43:46 -0400
committerMarek Olšák <[email protected]>2019-04-25 11:49:38 -0400
commit383f4065911314906fb23e639308e68a5e40524d (patch)
treea10b126d208218f21b39cf72db9d390f7fa55945 /src/gallium/drivers/radeonsi/si_pipe.h
parent440135e5a0d178c537db3f96e6823bc8220a0f3f (diff)
radeonsi: remove dirty slot masks from scissor and viewport states
All registers in the array need to be updated if any of them is changed. Only apps writing gl_ViewportIndex were affected by this bug.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 1d26ca90219..d3ddb912245 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -672,14 +672,7 @@ struct si_signed_scissor {
enum si_quant_mode quant_mode;
};
-struct si_scissors {
- unsigned dirty_mask;
- struct pipe_scissor_state states[SI_MAX_VIEWPORTS];
-};
-
struct si_viewports {
- unsigned dirty_mask;
- unsigned depth_range_dirty_mask;
struct pipe_viewport_state states[SI_MAX_VIEWPORTS];
struct si_signed_scissor as_scissor[SI_MAX_VIEWPORTS];
};
@@ -883,7 +876,7 @@ struct si_context {
struct si_clip_state clip_state;
struct si_shader_data shader_pointers;
struct si_stencil_ref stencil_ref;
- struct si_scissors scissors;
+ struct pipe_scissor_state scissors[SI_MAX_VIEWPORTS];
struct si_streamout streamout;
struct si_viewports viewports;
unsigned num_window_rectangles;