nir/spirv: Rework the way pointers get dereferenced
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:33 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:54 +0000 (15:26 -0700)
commit604eda3712879ae21c56336fe890092732afebc6
treeb3b5ce2ac0a005b584c37bca46bcce33e3126245
parent4c21e6b7f8956cda80ba173ff2506ddbee13c7af
nir/spirv: Rework the way pointers get dereferenced

This has the advantage of moving all of the "extend an access chain"
code into one place.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c