nir: Switch the arguments to nir_foreach_parallel_copy_entry
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Apr 2016 03:21:27 +0000 (20:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Apr 2016 22:54:48 +0000 (15:54 -0700)
commite63766fb4b54bc88756ee7e82c3ff8cec0dc5561
treed86854f08e9b437ead58cab32d798b9aa815e4da
parent8564916d01b31ca5665a27366e483738541ba5a3
nir: Switch the arguments to nir_foreach_parallel_copy_entry

This matches the "foreach x in container" pattern found in many other
programming languages.

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_from_ssa.c
src/compiler/nir/nir_print.c