projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a5ebe
)
nir: remove unused constant_fold_state
author
Rob Clark
<robdclark@chromium.org>
Thu, 8 Aug 2019 20:37:49 +0000
(13:37 -0700)
committer
Rob Clark
<robdclark@chromium.org>
Tue, 3 Sep 2019 21:10:57 +0000
(14:10 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_opt_constant_folding.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_constant_folding.c
b/src/compiler/nir/nir_opt_constant_folding.c
index 38d011536bb43a186cacc6431baa3ad1b7eab6ac..4123bc8af6d5d2f8d35ca16f70c8f64696f2ad8d 100644
(file)
--- 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)
{