projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/algebraic: add option to lower fall_equalN/fany_nequalN
[mesa.git]
/
src
/
compiler
/
nir
/
nir.h
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index f41302676d1664d98b23d08913067d4321ea6248..b011f868bc2c37557e0c2d29cbe9fef143a4c0d7 100644
(file)
--- a/
src/compiler/nir/nir.h
+++ b/
src/compiler/nir/nir.h
@@
-2537,6
+2537,9
@@
typedef struct nir_shader_compiler_options {
/* lower {slt,sge,seq,sne} to {flt,fge,feq,fne} + b2f: */
bool lower_scmp;
+ /* lower fall_equalN/fany_nequalN (ex:fany_nequal4 to sne+fdot4+fsat) */
+ bool lower_vector_cmp;
+
/** enables rules to lower idiv by power-of-two: */
bool lower_idiv;