aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_derivatives.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/midgard_derivatives.c')
-rw-r--r--src/panfrost/midgard/midgard_derivatives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_derivatives.c b/src/panfrost/midgard/midgard_derivatives.c
index 0f15af3db42..9a1506372b8 100644
--- a/src/panfrost/midgard/midgard_derivatives.c
+++ b/src/panfrost/midgard/midgard_derivatives.c
@@ -96,7 +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),
- .src = { nir_alu_src_index(ctx, &instr->src[0]), -1, -1 },
+ .src = { nir_alu_src_index(ctx, &instr->src[0]), ~0, ~0 },
},
.texture = {
.op = mir_derivative_op(instr->op),