From: Marek Olšák Date: Thu, 10 Sep 2015 16:42:22 +0000 (+0200) Subject: radeonsi: don't forget to update scratch relocations for LS, HS, ES shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b737d9c1dce073aa36b21c33cb30fbae89c38153;p=mesa.git radeonsi: don't forget to update scratch relocations for LS, HS, ES shaders Cc: 11.0 Acked-by: Christian König Reviewed-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index eb5d9f59e84..56f868d81db 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1534,8 +1534,12 @@ bool si_update_shaders(struct si_context *sctx) si_mark_atom_dirty(sctx, &sctx->spi_map); } - if (si_pm4_state_changed(sctx, ps) || si_pm4_state_changed(sctx, vs) || - si_pm4_state_changed(sctx, gs)) { + if (si_pm4_state_changed(sctx, ls) || + si_pm4_state_changed(sctx, hs) || + si_pm4_state_changed(sctx, es) || + si_pm4_state_changed(sctx, gs) || + si_pm4_state_changed(sctx, vs) || + si_pm4_state_changed(sctx, ps)) { if (!si_update_spi_tmpring_size(sctx)) return false; }