[Mesa-dev] [PATCH 1/3] radeonsi/gfx9: set that window_rectangles always roll the context

Marek Olšák maraeo at gmail.com
Wed Apr 24 19:57:00 UTC 2019


Ping

On Thu, Apr 18, 2019 at 5:46 PM Marek Olšák <maraeo at gmail.com> wrote:

> 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 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,
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190424/0b5b14be/attachment.html>


More information about the mesa-dev mailing list