aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-25 13:18:47 +0800
committerChia-I Wu <[email protected]>2010-11-25 13:34:24 +0800
commitba1128db4582d8c54834b771749ee503738243fc (patch)
tree4c06d453c03df68d6850ac867310bfc456224355 /src/gallium/state_trackers
parentc9fb8c3bcfe86063c0903ae90100c1bfdb49cbbd (diff)
st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.
The typo was introduced by commit 231d5457b275c1d9bbeff14165cf3da33dda176b.
Diffstat (limited to 'src/gallium/state_trackers')
-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 27773467fa8..9a06982c6a6 100644
--- a/src/gallium/state_trackers/vega/asm_fill.h
+++ b/src/gallium/state_trackers/vega/asm_fill.h
@@ -235,7 +235,7 @@ image_stencil( struct ureg_program *ureg,
ureg_SUB(ureg, temp[3], \
ureg_scalar(constant[1], TGSI_SWIZZLE_Y), \
ureg_scalar(ureg_src(temp[1]), TGSI_SWIZZLE_W)); \
- ureg_SUB(ureg, temp[3], \
+ ureg_SUB(ureg, temp[4], \
ureg_scalar(constant[1], TGSI_SWIZZLE_Y), \
ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_W)); \
ureg_MUL(ureg, temp[3], ureg_src(temp[0]), ureg_src(temp[3])); \