diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-09-12 14:57:35 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-10-15 17:29:46 -0700 |
commit | 3966f053a14c5f1c57738143fea3d239070e5517 (patch) | |
tree | 923dd79c34c46b37b7ad9fb4224c17c67e82ff67 /src/compiler/nir/nir_builder.h | |
parent | 8ec83dc51e407fa0987d636752497509278c0dbb (diff) |
util: Add foreach_reverse for dynarray
Useful to walk the array removing elements by swapping them with the
last element.
v2: Change iteration to make sure we never underflow. (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_builder.h')
0 files changed, 0 insertions, 0 deletions