Skip to content
Commit 28cba736 authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Dylan Baker
Browse files

intel/nir: Add a memory barrier before barrier()



Our barrier instruction does not implicitly do a memory fence but the
GLSL barrier() intrinsic is supposed to.  The easiest back-portable
solution is to just add the NIR barriers.  We'll sort this out more
properly in later commits.

Cc: mesa-stable@lists.freedesktop.org
Closes: #2138
Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
(cherry picked from commit 803fad43)
parent c63d04cb
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