Mesa (master): freedreno: Stop doing binning shaders other than the VS in shader-db.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 1 16:46:33 UTC 2020


Module: Mesa
Branch: master
Commit: fd8f3b62a4b35a9ef2047cd45e9de3bd62436153
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd8f3b62a4b35a9ef2047cd45e9de3bd62436153

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 15 11:17:10 2020 -0700

freedreno: Stop doing binning shaders other than the VS in shader-db.

ir3_cache.c only ever asks for binning variants for VS.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>

---

 src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index b52328e2f06..8d392801363 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
@@ -144,7 +144,7 @@ ir3_shader_create(struct ir3_compiler *compiler,
 		static struct ir3_shader_key key; /* static is implicitly zeroed */
 		ir3_shader_variant(shader, key, false, debug);
 
-		if (nir->info.stage != MESA_SHADER_FRAGMENT)
+		if (nir->info.stage == MESA_SHADER_VERTEX)
 			ir3_shader_variant(shader, key, true, debug);
 	}
 



More information about the mesa-commit mailing list