diff options
author | Jason Ekstrand <[email protected]> | 2017-06-29 10:33:28 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-07-05 15:26:52 -0700 |
commit | 415e198d4815db2eb6f55e5fc817357fcf8532a4 (patch) | |
tree | ba14fa2ab0d9c2a727095b1bbb4fbdfcd632f40b /doxygen | |
parent | 06b5eeda1718c1b1051e8f388d71ca49c056e179 (diff) |
nir/spirv: Wrap access chains in a new vtn_pointer data structure
The vtn_pointer structure provides a bit better abstraction than passing
access chains around directly. For one thing, if the pointer just
points to a variable, we don't need the access chain at all. Also,
pointers know what their dereferenced type is so we can avoid passing
the type in a bunch of places. Finally, pointers can, in theory, be
extended to the case where you don't actually know what variable is
being referenced.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions