Mesa (master): nir: remove unused constant_fold_state
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Sep 3 21:14:01 UTC 2019
Module: Mesa
Branch: master
Commit: 5ccd5871ed10ca92bfdb934832d58e92f9ab9523
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ccd5871ed10ca92bfdb934832d58e92f9ab9523
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Aug 8 13:37:49 2019 -0700
nir: remove unused constant_fold_state
Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/compiler/nir/nir_opt_constant_folding.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/compiler/nir/nir_opt_constant_folding.c b/src/compiler/nir/nir_opt_constant_folding.c
index 38d011536bb..4123bc8af6d 100644
--- a/src/compiler/nir/nir_opt_constant_folding.c
+++ b/src/compiler/nir/nir_opt_constant_folding.c
@@ -32,12 +32,6 @@
* Implements SSA-based constant folding.
*/
-struct constant_fold_state {
- void *mem_ctx;
- nir_function_impl *impl;
- bool progress;
-};
-
static bool
constant_fold_alu_instr(nir_alu_instr *instr, void *mem_ctx)
{
More information about the mesa-commit
mailing list