[1/3] radeonsi/gfx9: set that window_rectangles always roll the context

Submitted by Marek Olšák on April 18, 2019, 9:46 p.m.

Details

Message ID 20190418214628.12623-1-maraeo@gmail.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Marek Olšák April 18, 2019, 9:46 p.m.
From: Marek Olšák <marek.olsak@amd.com>

Cc: 19.0 <mesa-stable@lists.freedesktop.org>
---
 src/gallium/drivers/radeonsi/si_state.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 311e1a428ae..119558b8674 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -217,21 +217,22 @@  static inline unsigned si_atoms_that_always_roll_context(void)
 	return (SI_ATOM_BIT(streamout_begin) |
 		SI_ATOM_BIT(streamout_enable) |
 		SI_ATOM_BIT(framebuffer) |
 		SI_ATOM_BIT(msaa_sample_locs) |
 		SI_ATOM_BIT(sample_mask) |
 		SI_ATOM_BIT(blend_color) |
 		SI_ATOM_BIT(clip_state) |
 		SI_ATOM_BIT(scissors) |
 		SI_ATOM_BIT(viewports) |
 		SI_ATOM_BIT(stencil_ref) |
-		SI_ATOM_BIT(scratch_state));
+		SI_ATOM_BIT(scratch_state) |
+		SI_ATOM_BIT(window_rectangles));
 }
 
 struct si_shader_data {
 	uint32_t		sh_base[SI_NUM_SHADERS];
 };
 
 /* The list of registers whose emitted values are remembered by si_context. */
 enum si_tracked_reg {
 	SI_TRACKED_DB_RENDER_CONTROL, /* 2 consecutive registers */
 	SI_TRACKED_DB_COUNT_CONTROL,

Comments