Skip to content

aco: cleanup dead code in perform_barrier

Tatsuyuki Ishi requested to merge ishitatsuyuki/mesa:cleanup into main

The inner condition is always false because sync.scope > subgroup_scope is required by the outer if.

The outer condition was introduced in the referenced commit.

Fixes: 3d9eb17d ("aco: improve workgroup-scope and lower vmem/smem barriers")

Found by manual inspection.

cc @pendingchaos (commit author)

Edited by Tatsuyuki Ishi

Merge request reports