[Mesa-dev] [PATCH] radeonsi: mark ssbo and images descriptor pointers dirty at beginning of CS
Marek Olšák
maraeo at gmail.com
Wed Apr 13 17:24:04 UTC 2016
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Wed, Apr 13, 2016 at 7:19 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Without this, we were getting non-deterministic VM faults under high pressure.
> ---
> src/gallium/drivers/radeonsi/si_descriptors.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
> index b5557d8..7fc1461 100644
> --- a/src/gallium/drivers/radeonsi/si_descriptors.c
> +++ b/src/gallium/drivers/radeonsi/si_descriptors.c
> @@ -1192,7 +1192,9 @@ static void si_mark_shader_pointers_dirty(struct si_context *sctx,
> {
> sctx->const_buffers[shader].desc.pointer_dirty = true;
> sctx->rw_buffers[shader].desc.pointer_dirty = true;
> + sctx->shader_buffers[shader].desc.pointer_dirty = true;
> sctx->samplers[shader].views.desc.pointer_dirty = true;
> + sctx->images[shader].desc.pointer_dirty = true;
>
> if (shader == PIPE_SHADER_VERTEX)
> sctx->vertex_buffers.pointer_dirty = true;
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list