mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
panfrost: Switch to nir_lower_doubles instead of lower_fmod64.
I don't think panfrost actually does doubles yet, but it at least claims to support PIPE_CAP_DOUBLES, so at least pretend to switch to the new lowering. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
d13059f4d5
commit
dfb18f0a28
1 changed files with 2 additions and 1 deletions
|
|
@ -92,7 +92,6 @@ static const nir_shader_compiler_options midgard_nir_options = {
|
|||
.lower_flrp64 = true,
|
||||
.lower_ffract = true,
|
||||
.lower_fmod32 = true,
|
||||
.lower_fmod64 = true,
|
||||
.lower_fdiv = true,
|
||||
.lower_idiv = true,
|
||||
.lower_isign = true,
|
||||
|
|
@ -108,6 +107,8 @@ static const nir_shader_compiler_options midgard_nir_options = {
|
|||
.vertex_id_zero_based = true,
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
|
||||
.lower_doubles_options = nir_lower_dmod,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue