spirv: fix AtomicLoad/Store on images
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 19 Sep 2016 16:14:18 +0000 (17:14 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 22 Sep 2016 11:08:21 +0000 (14:08 +0300)
commit9adfa695ac144cfd7c9bb9d0c63d280861f3add4
tree42eb7544868cb6c6b539be4d731e5a17f8bd7121
parent36f0f0318275f65f8744ec6f9471702e2f58e6d5
spirv: fix AtomicLoad/Store on images

OpAtomicLoad/Store should have pointer to images just like the rest of the
atomic operators. These couple of lines were poorly copied from the
ssbo/shared_vars cases (the only ones currently tests by the CTS).

Fixes 2afb950161f8 ("spirv/nir: Add support for OpAtomicLoad/Store")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c