projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a92c9
)
glsl2/builtins: Fix 1.30 sign implementation for ints.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Jul 2010 00:25:49 +0000
(17:25 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 22 Jul 2010 23:50:56 +0000
(16:50 -0700)
src/glsl/builtins/130/sign
patch
|
blob
|
history
diff --git
a/src/glsl/builtins/130/sign
b/src/glsl/builtins/130/sign
index 170795948b2303098f4445da7ef72ada672d14f4..f86062a24433c37683424c408f492a4968f933e8 100644
(file)
--- a/
src/glsl/builtins/130/sign
+++ b/
src/glsl/builtins/130/sign
@@
-2,7
+2,7
@@
(signature int
(parameters
(declare (in) int x))
- ((return (expression int
/ (var_ref x) (expression int abs (var_ref x)
)))))
+ ((return (expression int
sign (var_ref x
)))))
(signature ivec2
(parameters