mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
r600/sfn: call nir_lower_doubles explicitely
Fixes: 5218cff34b
nir/algebraic: avoid double lowering of some fp64 operations
v2: grammar fixes (lorn10)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28840>
This commit is contained in:
parent
bf44ce61bb
commit
36c81b5e88
1 changed files with 3 additions and 1 deletions
|
|
@ -828,8 +828,10 @@ 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