projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b420d04
)
freedreno: Stop doing binning shaders other than the VS in shader-db.
author
Eric Anholt
<eric@anholt.net>
Wed, 15 Apr 2020 18:17:10 +0000
(11:17 -0700)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 1 May 2020 16:26:32 +0000
(16:26 +0000)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index b52328e2f069d7e384462cd5140572ed08cee7b5..8d3928013633918a81d94a15c8b35bc9f0b955a3 100644
(file)
--- 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);
}