From: Chia-I Wu Date: Thu, 25 Nov 2010 05:18:47 +0000 (+0800) Subject: st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba1128db4582d8c54834b771749ee503738243fc;p=mesa.git st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC. The typo was introduced by commit 231d5457b275c1d9bbeff14165cf3da33dda176b. --- 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])); \