From: Nicolai Hähnle Date: Wed, 13 Apr 2016 17:17:28 +0000 (-0500) Subject: radeonsi: mark ssbo and images descriptor pointers dirty at beginning of CS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bd0f0df50235fc5c3c556b9e20cb0225580596a;p=mesa.git radeonsi: mark ssbo and images descriptor pointers dirty at beginning of CS Without this, we were getting non-deterministic VM faults under high pressure. Reviewed-by: Marek Olšák --- 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;