summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_compiler.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2018-04-18 10:50:35 +0200
committerJuan A. Suarez Romero <[email protected]>2019-03-25 16:08:25 +0100
commitca31df6f1fbc2c502644dd7be7424000dc02541c (patch)
tree17cf0cc7a71454f05fd34324c700ac849dd2aa0e /src/intel/compiler/brw_compiler.c
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 <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_compiler.c')
-rw-r--r--src/intel/compiler/brw_compiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index 4fa02ca4d10..b588d5be97b 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -33,6 +33,7 @@
.lower_sub = true, \
.lower_fdiv = true, \
.lower_scmp = true, \
+ .lower_fmod16 = true, \
.lower_fmod32 = true, \
.lower_fmod64 = false, \
.lower_bitfield_extract = true, \