spirv: Use deref instructions for most variables
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Mar 2018 20:35:59 +0000 (13:35 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:15:57 +0000 (20:15 -0700)
commiteb40540b8aa30279b80fa3a879e20bbb5d16838f
tree0d88e3c7d7b889c1245ebc64c7abe5c82a2aa170
parente5130012e4b3b276ec80e11e9d79a69a3c3a5a4c
spirv: Use deref instructions for most variables

The only thing still using old-school drefs are function calls.

Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_cfg.c
src/compiler/spirv/vtn_glsl450.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c