nir: add lowering for ffloor

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Christian Gmeiner
2018-09-01 21:15:27 +02:00
parent 41c8f99137
commit c6aaafa3a1
2 changed files with 4 additions and 0 deletions

View File

@@ -2083,6 +2083,9 @@ typedef struct nir_shader_compiler_options {
*/
bool fdot_replicates;
/** lowers ffloor to fsub+ffract: */
bool lower_ffloor;
/** lowers ffract to fsub+ffloor: */
bool lower_ffract;