nir: Add atomic operations on variables
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 18 Jan 2016 17:53:44 +0000 (09:53 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 17 Mar 2016 08:23:40 +0000 (01:23 -0700)
commit683c359c543f4152150fcc52c7a75b9f6a71d1e4
tree6d3de5c0ddf029d75a76d0200e33660c04134da8
parent3c807607df4ab457037f2daa5ea9e5ce18392b7b
nir: Add atomic operations on variables

This allows us to first generate atomic operations for shared
variables using these opcodes, and then later we can lower those to
the shared atomics intrinsics with nir_lower_io.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_intrinsics.h