summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_instr_set.h
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-09-24 02:10:13 -0400
committerConnor Abbott <[email protected]>2015-10-09 10:15:15 -0400
commitbf5f931aee35e8448a6560545d86deb35f0639b3 (patch)
treedcce3bf1aa8fce57510798cb02d6e79f99ea6d46 /src/glsl/nir/nir_instr_set.h
parente8308d0523f7dc78b34099cfe2c3d3daedb27d4c (diff)
nir: make nir_instrs_equal() static
This was previously tied to CSE, since it would only work for instructions where nir_can_cse() (now instr_can_rewrite()) returned true. Now that CSE uses the instruction set abstraction which only uses this internally, we can make it local to nir_instr_set.c. Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_instr_set.h')
-rw-r--r--src/glsl/nir/nir_instr_set.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_instr_set.h b/src/glsl/nir/nir_instr_set.h
index a7f6c9dd1eb..939e8ddbf58 100644
--- a/src/glsl/nir/nir_instr_set.h
+++ b/src/glsl/nir/nir_instr_set.h
@@ -25,8 +25,6 @@
#include "nir.h"
-bool nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2);
-
/**
* This file defines functions for creating, destroying, and manipulating an
* "instruction set," which is an abstraction for finding duplicate