From 8bd0f0df50235fc5c3c556b9e20cb0225580596a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 13 Apr 2016 12:17:28 -0500 Subject: [PATCH] radeonsi: mark ssbo and images descriptor pointers dirty at beginning of CS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Without this, we were getting non-deterministic VM faults under high pressure. Reviewed-by: Marek Olšák --- 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 b5557d800c7..7fc1461ec9b 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.30.2