Skip to content
Commit ea2bf29e authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen Committed by Emil Velikov
Browse files

nir: Account for atomics in copy propagation.



Otherwise writes get propagated across atomics if no barrier is
used. Without barrier writes should still be visible in the same
invocation, so an atomic has to be considered a write.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fixes: b3c61469 "nir: Copy propagation between blocks"
Fixes: 62332d13 "nir: Add a local variable-based copy propagation pass"
(cherry picked from commit 8424cd8f)
parent 252beed9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment