Revert: r600/sfn: call nir_lower_doubles explicitely"

This reverts commit 36c81b5e88.

With

   nir/opt_algebraic: Allow two-step lowering of ftrunc@64 to use ffract@64

it is no longer necessary to call nir_lower_doubles explicitely in r600/sfn.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29281>
This commit is contained in:
Gert Wollny
2024-05-04 21:35:18 +02:00
committed by Marge Bot
parent f19f1ec17b
commit 29fd096d91
+1 -3
View File
@@ -824,10 +824,8 @@ r600_lower_and_optimize_nir(nir_shader *sh,
if (lower_64bit)
NIR_PASS_V(sh, r600::r600_nir_64_to_vec2);
if ((sh->info.bit_sizes_float | sh->info.bit_sizes_int) & 64) {
if ((sh->info.bit_sizes_float | sh->info.bit_sizes_int) & 64)
NIR_PASS_V(sh, r600::r600_split_64bit_uniforms_and_ubo);
NIR_PASS_V(sh, nir_lower_doubles, NULL, sh->options->lower_doubles_options);
}
/* Lower to scalar to let some optimization work out better */
while (optimize_once(sh))