[Mesa-dev] [PATCH] nv50: Mark compute states as dirty on context switch

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Mar 18 23:22:51 UTC 2016


I have pushed this patch on top of the compute changes for nv50.

On 03/13/2016 10:11 PM, Pierre Moreau wrote:
> Signed-off-by: Pierre Moreau <pierre.morrow at free.fr>
> ---
>   src/gallium/drivers/nouveau/nv50/nv50_state_validate.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
> index 5536978..d06ba4a 100644
> --- a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
> +++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
> @@ -437,6 +437,7 @@ nv50_switch_pipe_context(struct nv50_context *ctx_to)
>         ctx_to->state = ctx_to->screen->save_state;
>
>      ctx_to->dirty = ~0;
> +   ctx_to->dirty_cp = ~0;
>      ctx_to->viewports_dirty = ~0;
>      ctx_to->scissors_dirty = ~0;
>
>


More information about the mesa-dev mailing list