spirv/nir: Add support for OpAtomicLoad/Store
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 6 Sep 2016 13:26:17 +0000 (14:26 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 7 Sep 2016 10:00:30 +0000 (11:00 +0100)
commit2afb950161f847d9b0a7be03dfb62cacc5ea51ba
tree58a436fc815bec3b09f9f1598db5cd3b4cf1c9a8
parentfe40a65fb6210206720776662f202879777057cd
spirv/nir: Add support for OpAtomicLoad/Store

Fixes new CTS tests :

dEQP-VK.spirv_assembly.instruction.compute.opatomic.load
dEQP-VK.spirv_assembly.instruction.compute.opatomic.store

v2: don't handle images like ssbo/ubo (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c