mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
Revert: r600/sfn: call nir_lower_doubles explicitely"
This reverts commit36c81b5e88. 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> (cherry picked from commit29fd096d91)
This commit is contained in:
parent
f8b6a9253a
commit
5f702da347
2 changed files with 2 additions and 4 deletions
|
|
@ -184,7 +184,7 @@
|
|||
"description": "Revert: r600/sfn: call nir_lower_doubles explicitely\"",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "36c81b5e88e68e61e93bc287e243fd29abbff97a",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -828,10 +828,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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue