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>
This commit is contained in:
@@ -1323,7 +1323,7 @@ typedef struct {
|
||||
nir_dest dest;
|
||||
} nir_parallel_copy_entry;
|
||||
|
||||
#define nir_foreach_parallel_copy_entry(pcopy, entry) \
|
||||
#define nir_foreach_parallel_copy_entry(entry, pcopy) \
|
||||
foreach_list_typed(nir_parallel_copy_entry, entry, node, &(pcopy)->entries)
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user