diff options
author | Ian Romanick <[email protected]> | 2019-06-13 14:06:55 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-07-08 11:30:10 -0700 |
commit | ad50e812a3413a379bed3119537d3492257a8854 (patch) | |
tree | b740a47dd974041b3429948fa0c3d7617acd5bba /src/compiler/nir/nir.h | |
parent | bcd22b740c0cf546bdd176de8f630c632b388f6a (diff) |
nir: nir_const_value_negative_equal compares one value at a time
Reviewed-by: Jason Ekstrand <[email protected]>
Suggested-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 90e35ee9205..88300d739ff 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1029,9 +1029,7 @@ nir_ssa_alu_instr_src_components(const nir_alu_instr *instr, unsigned src) return instr->dest.dest.ssa.num_components; } -bool nir_const_value_negative_equal(const nir_const_value *c1, - const nir_const_value *c2, - unsigned components, +bool nir_const_value_negative_equal(nir_const_value c1, nir_const_value c2, nir_alu_type full_type); bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2, |