Mesa (main): radeonsi: clean prefer_mono for the blit VS

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 28 17:58:37 UTC 2021


Module: Mesa
Branch: main
Commit: 678b6cdc8bc3cfe6a0a3b4ad5a8d0761d26f16c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=678b6cdc8bc3cfe6a0a3b4ad5a8d0761d26f16c2

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Sep 25 13:15:37 2021 -0400

radeonsi: clean prefer_mono for the blit VS

This was missed when I was reworking shader key updates.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13048>

---

 src/gallium/drivers/radeonsi/si_state_shaders.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index eaabcb4ba48..ae10ec4c28f 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -1814,6 +1814,7 @@ void si_vs_key_update_inputs(struct si_context *sctx)
 
    if (vs->info.base.vs.blit_sgprs_amd) {
       si_clear_vs_key_inputs(sctx, key, &key->part.vs.prolog);
+      key->opt.prefer_mono = 0;
       return;
    }
 



More information about the mesa-commit mailing list