aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/asm_fill.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega/asm_fill.h')
-rw-r--r--src/gallium/state_trackers/vega/asm_fill.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/asm_fill.h b/src/gallium/state_trackers/vega/asm_fill.h
index 566f7c95f5b..5ff76975e22 100644
--- a/src/gallium/state_trackers/vega/asm_fill.h
+++ b/src/gallium/state_trackers/vega/asm_fill.h
@@ -367,7 +367,7 @@ blend_generic(struct ureg_program *ureg,
ureg_scalar(dst, TGSI_SWIZZLE_W), ureg_negate(src), src);
ureg_MAD(ureg, temp[1],
src_channel_alpha, ureg_negate(dst), dst);
- ureg_MAD(ureg, temp[1], src, dst, ureg_src(temp[1]));
+ ureg_MAD(ureg, temp[0], src, dst, ureg_src(temp[0]));
ureg_ADD(ureg, out, ureg_src(temp[0]), ureg_src(temp[1]));
/* alpha is src over */
ureg_ADD(ureg, ureg_writemask(out, TGSI_WRITEMASK_W),