Skip to content

fix crash when wait_barrier_slow is called with a nil barrier#827

Open
ratchetfreak wants to merge 1 commit into
EpicGames:masterfrom
ratchetfreak:slowbarrierfix
Open

fix crash when wait_barrier_slow is called with a nil barrier#827
ratchetfreak wants to merge 1 commit into
EpicGames:masterfrom
ratchetfreak:slowbarrierfix

Conversation

@ratchetfreak

@ratchetfreak ratchetfreak commented Jun 16, 2026

Copy link
Copy Markdown

This fixes a crash on win7 (and any platform which uses slow barriers) because some threads call barrier_wait with only 1 lane and no allocated barrier.

Other backends will guard against that before calling underlying api. I did the same here.

other backends will guard against that before calling underlying api.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant