summaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-06-05 11:29:19 -0700
committerEric Anholt <[email protected]>2019-06-21 17:14:43 -0700
commitee2e1e85d4df83efeae0c2f47a1eb44da2a088a1 (patch)
tree988c6ae1e858002c556ced0689c61b2ffbfc691f /src/freedreno/ir3
parent8ab9f3a857317b6556d4d58cfe9bf4e04192ebf2 (diff)
freedreno: Include binning shaders in shader-db.
We want to see if we've improved our binning VS output, as well as the render VS. Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r--src/freedreno/ir3/ir3_shader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c
index 952ac9e1b2f..610ae655a83 100644
--- a/src/freedreno/ir3/ir3_shader.c
+++ b/src/freedreno/ir3/ir3_shader.c
@@ -243,8 +243,10 @@ ir3_shader_get_variant(struct ir3_shader *shader, struct ir3_shader_key *key,
shader_variant(shader, key, created);
if (v && binning_pass) {
- if (!v->binning)
+ if (!v->binning) {
v->binning = create_variant(shader, key, true);
+ *created = true;
+ }
return v->binning;
}