diff options
author | Kenneth Graunke <[email protected]> | 2010-07-08 13:06:22 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-09 09:46:07 -0700 |
commit | f3290e950cd78a423d380b7e0a7aa18eb7718e27 (patch) | |
tree | 9f134837e59bc40d35c9202805134596627519df /src/glsl/ir_hv_accept.cpp | |
parent | dfd30ca6a95a7d95835dad78ffe1fba4d1f4ef69 (diff) |
glsl2: Add foreach_list_safe which works even when mutating the list.
In particular, with foreach_list_safe, one can remove and free the current
node without crashes; if new nodes are added after the current node,
they will be properly visited as well.
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir_hv_accept.cpp')
0 files changed, 0 insertions, 0 deletions