projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dca089
)
fix broken __postDecr()
author
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 18:25:37 +0000
(11:25 -0700)
committer
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 18:25:37 +0000
(11:25 -0700)
src/mesa/shader/slang/library/slang_core.gc
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/library/slang_core.gc
b/src/mesa/shader/slang/library/slang_core.gc
index 0c45515163eda07beb3dbb7b5b1b30b4ec48135c..25afccf13fad0b380c85ffdbdd0b75572dd75176 100644
(file)
--- 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)