From fd8f3b62a4b35a9ef2047cd45e9de3bd62436153 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Apr 2020 11:17:10 -0700 Subject: [PATCH] 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: --- 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); } -- 2.30.2