[Mesa-dev] [PATCH 1/4] radeonsi/gfx9: set that window_rectangles always roll the context
Marek Olšák
maraeo at gmail.com
Wed Apr 17 23:39:10 UTC 2019
From: Marek Olšák <marek.olsak at amd.com>
Cc: 19.0 <mesa-stable at lists.freedesktop.org>
---
src/gallium/drivers/radeonsi/si_state.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 311e1a4..119558b 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,
--
2.7.4
More information about the mesa-dev
mailing list