nir: add access to image_deref intrinsics
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 16 May 2019 12:03:39 +0000 (13:03 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 26 Jul 2019 14:09:55 +0000 (14:09 +0000)
commit8c330728f3094f2c836e022e57f003d0c82953ef
tree83e21acfecd226a7c9a808eae7220f1469208f6f
parent02ecf16a70bb32eaf8540c4625c568bd193020e4
nir: add access to image_deref intrinsics

SPIRV added the ability to access variables and have expressions non
dynamically uniform and because spirv_to_nir generates deref
instructions, we'll need to have that access there.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir.c