compiler/nir: add lowering option for 16-bit fmod
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 18 Apr 2018 08:50:35 +0000 (10:50 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 25 Mar 2019 15:08:25 +0000 (16:08 +0100)
commitca31df6f1fbc2c502644dd7be7424000dc02541c
tree17cf0cc7a71454f05fd34324c700ac849dd2aa0e
parent08d97aadd14e4ba66a21939b0ad7ed6e24824745
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>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py
src/intel/compiler/brw_compiler.c