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>
This commit is contained in:
Eric Anholt 2020-04-15 11:17:10 -07:00 committed by Marge Bot
parent b420d04e1f
commit fd8f3b62a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}