summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/tests
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2018-09-12 14:57:35 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2018-10-15 17:29:46 -0700
commit3966f053a14c5f1c57738143fea3d239070e5517 (patch)
tree923dd79c34c46b37b7ad9fb4224c17c67e82ff67 /src/compiler/nir/tests
parent8ec83dc51e407fa0987d636752497509278c0dbb (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/tests')
0 files changed, 0 insertions, 0 deletions