summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_print.c')
-rw-r--r--src/glsl/nir/nir_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c
index d7fc4b8722e..c9496e8448b 100644
--- a/src/glsl/nir/nir_print.c
+++ b/src/glsl/nir/nir_print.c
@@ -575,13 +575,13 @@ print_parallel_copy_instr(nir_parallel_copy_instr *instr, FILE *fp)
{
bool first = true;
fprintf(fp, "pcopy: ");
- foreach_list_typed(nir_parallel_copy_copy, copy, node, &instr->copies) {
+ nir_foreach_parallel_copy_entry(instr, entry) {
if (!first)
fprintf(fp, "; ");
- print_dest(&copy->dest, fp);
+ print_dest(&entry->dest, fp);
fprintf(fp, " = ");
- print_src(&copy->src, fp);
+ print_src(&entry->src, fp);
first = false;
}