diff options
author | Marek Olšák <[email protected]> | 2015-09-10 18:42:22 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-10-07 14:41:03 +0100 |
commit | fb5dd331660eebfa12d14181e2e30cdfa994c535 (patch) | |
tree | 9c6d5254500f26a0c4f6b4a7b2ce63ba24200ce4 /src/gallium | |
parent | b2d3012e351b0f2524ff4990ba424e8ebb0bb727 (diff) |
radeonsi: don't forget to update scratch relocations for LS, HS, ES shaders
Cc: 11.0 <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
(cherry picked from commit b737d9c1dce073aa36b21c33cb30fbae89c38153)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index c1ee497a3bc..94d58610c7c 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1512,8 +1512,12 @@ bool si_update_shaders(struct si_context *sctx) si_update_spi_map(sctx); } - 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; } |