diff options
author | Eric Anholt <[email protected]> | 2020-04-15 11:17:10 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 16:26:32 +0000 |
commit | fd8f3b62a4b35a9ef2047cd45e9de3bd62436153 (patch) | |
tree | d3d92f10350df46f4f504380e823c28cbfb7ae99 /src/gallium/drivers/freedreno/ir3/ir3_gallium.c | |
parent | b420d04e1f744d15622f89180d1e3e511d92a8ba (diff) |
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>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_gallium.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |