summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-04-27 18:59:31 -0700
committerEric Anholt <[email protected]>2016-05-02 11:06:29 -0700
commit84322b2f315d5dfdb15302ed6cbe5ed79d775d69 (patch)
treec415ad5c2183627f03b245f0c25ef8c62d91f380 /src/gallium/drivers/vc4/vc4_qir.c
parentb145b731ab01937993e2bf7ecc072217932568ff (diff)
vc4: Remove the CSE pass.
It's not doing anything according to shader-db now that we're using NIR. It would have had to be reworked significantly anyway, to handle control flow.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index 293eb01adab..3ba98ca9141 100644
--- a/src/gallium/drivers/vc4/vc4_qir.c
+++ b/src/gallium/drivers/vc4/vc4_qir.c
@@ -540,7 +540,6 @@ qir_optimize(struct vc4_compile *c)
bool progress = false;
OPTPASS(qir_opt_algebraic);
- OPTPASS(qir_opt_cse);
OPTPASS(qir_opt_constant_folding);
OPTPASS(qir_opt_copy_propagation);
OPTPASS(qir_opt_dead_code);