mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 23:30:22 +01:00
aco: run nir_lower_int64 after nir_opt_uniform_atomics
nir_opt_uniform_atomics can create 64-bit ALU instructions which need to be lowered. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23502>
This commit is contained in:
parent
948970c1eb
commit
56eb831155
1 changed files with 2 additions and 1 deletions
|
|
@ -308,7 +308,8 @@ init_context(isel_context* ctx, nir_shader* shader)
|
|||
ctx->ub_config.max_workgroup_size[2] = 2048;
|
||||
|
||||
nir_divergence_analysis(shader);
|
||||
nir_opt_uniform_atomics(shader);
|
||||
if (nir_opt_uniform_atomics(shader) && nir_lower_int64(shader))
|
||||
nir_divergence_analysis(shader);
|
||||
|
||||
apply_nuw_to_offsets(ctx, impl);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue