summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <itoral@igalia.com>2018-04-18 10:50:35 +0200
committerJuan A. Suarez Romero <jasuarez@igalia.com>2019-03-25 16:08:25 +0100
commitca31df6f1fbc2c502644dd7be7424000dc02541c (patch)
tree17cf0cc7a71454f05fd34324c700ac849dd2aa0e /src/compiler/nir/nir.h
parent08d97aadd14e4ba66a21939b0ad7ed6e24824745 (diff)
compiler/nir: add lowering option for 16-bit fmod
And enable it on Intel. v2: - Squash the change to enable this lowering on Intel (Jason) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index b6a2ba7ec8c3..ee766d5238a7 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2169,6 +2169,7 @@ typedef struct nir_shader_compiler_options {
bool lower_fpow;
bool lower_fsat;
bool lower_fsqrt;
+ bool lower_fmod16;
bool lower_fmod32;
bool lower_fmod64;
/** Lowers ibitfield_extract/ubitfield_extract to ibfe/ubfe. */