From ba1128db4582d8c54834b771749ee503738243fc Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 25 Nov 2010 13:18:47 +0800 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) 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])); \ -- cgit v1.2.3