summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-29 01:29:11 -0700
committerKenneth Graunke <[email protected]>2016-08-04 00:41:07 -0700
commit7603b4d3a182fe5d756ac9d7196134aa5c43dbea (patch)
treefea036133a5e83cd576635a68b9d487aec7ea77b /src/compiler/nir/nir.h
parent6aa730000fea84a14b49828a4bb30761d43903bf (diff)
nir: Make nir_alu_srcs_equal non-static.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 65ecd3369d0..9ce5be2176d 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -785,6 +785,9 @@ nir_ssa_alu_instr_src_components(const nir_alu_instr *instr, unsigned src)
return instr->dest.dest.ssa.num_components;
}
+bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2,
+ unsigned src1, unsigned src2);
+
typedef enum {
nir_deref_type_var,
nir_deref_type_array,