diff options
Diffstat (limited to 'src/panfrost/midgard/midgard_derivatives.c')
-rw-r--r-- | src/panfrost/midgard/midgard_derivatives.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_derivatives.c b/src/panfrost/midgard/midgard_derivatives.c index 3a36965f28b..0f15af3db42 100644 --- a/src/panfrost/midgard/midgard_derivatives.c +++ b/src/panfrost/midgard/midgard_derivatives.c @@ -96,8 +96,7 @@ midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr) .mask = mask_of(nr_components), .ssa_args = { .dest = nir_dest_index(ctx, &instr->dest.dest), - .src0 = nir_alu_src_index(ctx, &instr->src[0]), - .src1 = -1, + .src = { nir_alu_src_index(ctx, &instr->src[0]), -1, -1 }, }, .texture = { .op = mir_derivative_op(instr->op), |