diff options
author | Jason Ekstrand <[email protected]> | 2018-06-29 14:44:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-07-02 12:09:41 -0700 |
commit | e8e159e9df40ee76468e05be073d94ec78d4bf32 (patch) | |
tree | 3f2496be58db2298766ee8033595775d91ce5ed5 /src/compiler/glsl/builtin_variables.cpp | |
parent | 2bf8be99b0f3dedd8fb23eeba998f6e1c540edf7 (diff) |
nir/deref: Add helpers for getting offsets
These are very similar to the related function in nir_lower_io except
that they don't handle per-vertex or packed things (that could be added,
in theory) and they take a more detailed size/align function pointer.
One day, we should consider switching nir_lower_io over to using the
more detailed size/align functions and then we could make it use these
helpers instead of having its own.
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/builtin_variables.cpp')
0 files changed, 0 insertions, 0 deletions