diff options
author | Jason Ekstrand <[email protected]> | 2014-12-15 15:12:59 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:22 -0800 |
commit | 193fea9eb6a7ad72360a3ac65b322bab081f9587 (patch) | |
tree | ecad1e92bda6a4ff6cf91aad7ece7ca99d172715 /src/glsl/ir_expression_flattening.h | |
parent | bc0735857f1f36eede7e8e5382f8e9bbc496fecb (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/ir_expression_flattening.h')
0 files changed, 0 insertions, 0 deletions