spirv: Update vtn_pointer_to/from_ssa to handle deref pointers
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Mar 2018 23:39:54 +0000 (16:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:15:57 +0000 (20:15 -0700)
commit2f9bfd7dd9a016c7700f3f8767094443aed4cadb
tree5c65658cb22f6a24cd4f38de1f7f43c0fa64878e
parentd5930c222c0452becffb157052833e2b35ad6fbd
spirv: Update vtn_pointer_to/from_ssa to handle deref pointers

Now that pointers can be derefs and derefs just produce SSA values, we
can convert any pointer to/from SSA.

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/vtn_variables.c