nir: Add the alias NIR_MEMORY_ACQ_REL
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 9 Jan 2020 18:03:12 +0000 (10:03 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 19:12:11 +0000 (19:12 +0000)
commit6ff898a6530e19815e2877f5a5da54f7e6746cfa
treec43154769a2d466e37f9259baf7aa30f22f6659b
parent424737da3e25d9fc3dd33a4b8bdb9ad914e7a5f8
nir: Add the alias NIR_MEMORY_ACQ_REL

This will help upcoming C++ code that will have to combine those two
semantics.  In C++ it is not possible to do this without a cast or
adding an operator| to the enum.  Since having the short form will
also be convient to C, we picked the former solution.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3913>
src/compiler/nir/nir.h