Skip to content

nir: handle float atomics in copy propagation pass

Marcin Ślusarz requested to merge mslusarz/mesa:nir_atomics into master

Without this patch, copy propagation pass can optimize out buffer loads out of compare & swap loop, which then leads to an infinite loop.

Triggered by a change to atomicCompSwap float test in piglit.

Cc: mesa-stable

Suggested-by: Jason Ekstrand

Merge request reports