Mesa (master): st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.

Chia-I Wu olv at kemper.freedesktop.org
Thu Nov 25 05:40:38 UTC 2010


Module: Mesa
Branch: master
Commit: ba1128db4582d8c54834b771749ee503738243fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba1128db4582d8c54834b771749ee503738243fc

Author: Chia-I Wu <olv at lunarg.com>
Date:   Thu Nov 25 13:18:47 2010 +0800

st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.

The typo was introduced by commit
231d5457b275c1d9bbeff14165cf3da33dda176b.

---

 src/gallium/state_trackers/vega/asm_fill.h |    2 +-
 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 2777346..9a06982 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]));       \




More information about the mesa-commit mailing list