summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2016-04-28 12:19:13 +0200
committerSamuel Iglesias Gonsálvez <[email protected]>2016-05-04 08:07:49 +0200
commit2ab2d2e5881d289a8239467a97516e4e410cebfb (patch)
tree948985a4c9039f12d013d0b182e972ed30131a20 /src/mesa/drivers
parentb902377a56b802d4fca95fb3733f47e466dfe501 (diff)
nir: Separate 32 and 64-bit fmod lowering
Split 32-bit and 64-bit fmod lowering as the drivers might need to lower them separately inside NIR depending on the HW support. Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c
index 61bb5ade282..9977d792679 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.c
+++ b/src/mesa/drivers/dri/i965/brw_compiler.c
@@ -76,7 +76,7 @@ shader_perf_log_mesa(void *data, const char *fmt, ...)
.lower_sub = true, \
.lower_fdiv = true, \
.lower_scmp = true, \
- .lower_fmod = true, \
+ .lower_fmod32 = true, \
.lower_bitfield_extract = true, \
.lower_bitfield_insert = true, \
.lower_uadd_carry = true, \