mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
etnaviv: nir: use lower_fround_even
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>
This commit is contained in:
parent
5fdfd8044d
commit
4fb2463a37
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ etna_compiler_create(const char *renderer, const struct etna_specs *specs)
|
|||
|
||||
compiler->options = (nir_shader_compiler_options) {
|
||||
.lower_fpow = true,
|
||||
.lower_fround_even = true,
|
||||
.lower_ftrunc = true,
|
||||
.fuse_ffma16 = true,
|
||||
.fuse_ffma32 = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue