From: Brian Date: Wed, 7 Mar 2007 18:25:37 +0000 (-0700) Subject: fix broken __postDecr() X-Git-Tag: 062012170305~19731^2~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab673c852724e81365ab9d979881da7464131854;p=profile%2Fivi%2Fmesa.git fix broken __postDecr() --- diff --git a/src/mesa/shader/slang/library/slang_core.gc b/src/mesa/shader/slang/library/slang_core.gc index 0c45515..25afccf 100644 --- a/src/mesa/shader/slang/library/slang_core.gc +++ b/src/mesa/shader/slang/library/slang_core.gc @@ -2333,8 +2333,8 @@ ivec4 __postDecr(inout ivec4 v) float __postDecr(inout float a) { - __retVal = v; - v = v - 1.0; + __retVal = a; + a = a - 1.0; } vec2 __postDecr(inout vec2 v)