summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/builtin_variables.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-29 14:44:19 -0700
committerJason Ekstrand <[email protected]>2018-07-02 12:09:41 -0700
commite8e159e9df40ee76468e05be073d94ec78d4bf32 (patch)
tree3f2496be58db2298766ee8033595775d91ce5ed5 /src/compiler/glsl/builtin_variables.cpp
parent2bf8be99b0f3dedd8fb23eeba998f6e1c540edf7 (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