summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_offset_array.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-15 15:12:59 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:22 -0800
commit193fea9eb6a7ad72360a3ac65b322bab081f9587 (patch)
treeecad1e92bda6a4ff6cf91aad7ece7ca99d172715 /src/glsl/lower_offset_array.cpp
parentbc0735857f1f36eede7e8e5382f8e9bbc496fecb (diff)
nir: Add a foreach_ssa_def function
There are some functions whose destinations are SSA-only and so aren't a nir_dest. This provides a function that is capable of iterating over the SSA definitions defined by those functions. If you want registers, you should use the old iterator. v2: Kenneth Graunke <[email protected]>: - Fix nir_foreach_ssa_def's return value. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/lower_offset_array.cpp')
0 files changed, 0 insertions, 0 deletions