nir: remove unused constant_fold_state
Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -32,12 +32,6 @@
|
|||||||
* Implements SSA-based constant folding.
|
* Implements SSA-based constant folding.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct constant_fold_state {
|
|
||||||
void *mem_ctx;
|
|
||||||
nir_function_impl *impl;
|
|
||||||
bool progress;
|
|
||||||
};
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
constant_fold_alu_instr(nir_alu_instr *instr, void *mem_ctx)
|
constant_fold_alu_instr(nir_alu_instr *instr, void *mem_ctx)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user