diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_lower_indirect_derefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_indirect_derefs.c b/src/compiler/nir/nir_lower_indirect_derefs.c index 694a6e0f3d7..1bf4bf66795 100644 --- a/src/compiler/nir/nir_lower_indirect_derefs.c +++ b/src/compiler/nir/nir_lower_indirect_derefs.c @@ -50,7 +50,7 @@ emit_indirect_load_store(nir_builder *b, nir_intrinsic_instr *orig_instr, direct.indirect = NIR_SRC_INIT; arr_parent->child = &direct.deref; - emit_load_store(b, orig_instr, deref, &arr->deref, dest, src); + emit_load_store(b, orig_instr, deref, &direct.deref, dest, src); arr_parent->child = &arr->deref; } else { int mid = start + (end - start) / 2; |