The generated asm is not as good as the one from the binary blob but
does its job.
Passes: dEQP-GLES3.functional.shaders.operator.common_functions.round*.*
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20709>
compiler->options = (nir_shader_compiler_options) {
.lower_fpow = true,
+ .lower_fround_even = true,
.lower_ftrunc = true,
.fuse_ffma16 = true,
.fuse_ffma32 = true,