mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 04:08:10 +02:00
svga: use weak_ffma
The compiler supports the TGSI MAD instruction which maps to ffma_weak. Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41165>
This commit is contained in:
parent
1a0a329598
commit
323a3716a6
1 changed files with 2 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ get_bool_cap(struct svga_winsys_screen *sws, SVGA3dDevCapIndex cap,
|
|||
.lower_extract_word = true, \
|
||||
.lower_insert_byte = true, \
|
||||
.lower_insert_word = true, \
|
||||
.float_mul_add32 = nir_float_muladd_support_keep_weak_ffma, \
|
||||
.lower_int64_options = nir_lower_imul_2x32_64 | nir_lower_divmod64, \
|
||||
.lower_fdph = true, \
|
||||
.lower_flrp64 = true, \
|
||||
|
|
@ -144,6 +145,7 @@ get_bool_cap(struct svga_winsys_screen *sws, SVGA3dDevCapIndex cap,
|
|||
.max_unroll_iterations = 32
|
||||
|
||||
#define VGPU10_OPTIONS \
|
||||
.float_mul_add64 = nir_float_muladd_support_keep_weak_ffma, \
|
||||
.lower_doubles_options = nir_lower_dfloor | nir_lower_dsign | nir_lower_dceil | nir_lower_dtrunc | nir_lower_dround_even, \
|
||||
.lower_fmod = true, \
|
||||
.lower_fpow = true, \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue