diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index 7bbfe40dc91..133388a3a80 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -1536,7 +1536,7 @@ emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr) * that is easier than mapping things back to a * nir_variable to figure out what it is. */ - dst[i] = ctx->ir->inputs[inloc]; + dst[i] = ctx->inputs[inloc]; } } } else {