summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-07 11:25:37 -0700
committerBrian <brian@yutani.localnet.net>2007-03-07 11:25:37 -0700
commitab673c852724e81365ab9d979881da7464131854 (patch)
tree8eac9c8983664f018e5c35e5196478bf72522001 /src/mesa
parent1dca0891492dc5d2974239f04883a41a1738d91f (diff)
fix broken __postDecr()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/library/slang_core.gc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/library/slang_core.gc b/src/mesa/shader/slang/library/slang_core.gc
index 0c45515163..25afccf13f 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)