From d8ec856e13090b7f878c68a821c35b3d63ecf236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Sat, 23 Jul 2016 16:13:56 +0200 Subject: [PATCH] radeonsi: emit RW_BUFFERS pointer also for LS shader stage The lack of this seems like a plausible explanation for reported GPUVM faults that were bisected to commit 860b658b9. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97039 Cc: 12.0 --- 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 92875a2..8f3a075 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -1699,6 +1699,8 @@ void si_emit_graphics_shader_userdata(struct si_context *sctx, R_00B330_SPI_SHADER_USER_DATA_ES_0, true); si_emit_shader_pointer(sctx, descs, R_00B430_SPI_SHADER_USER_DATA_HS_0, true); + si_emit_shader_pointer(sctx, descs, + R_00B530_SPI_SHADER_USER_DATA_LS_0, true); descs->pointer_dirty = false; } -- 2.7.4