diff options
author | Kenneth Graunke <[email protected]> | 2010-07-21 17:25:49 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-07-22 16:50:56 -0700 |
commit | 5304c251fcceca40096d69002efcf1a122df259d (patch) | |
tree | ba84dcb9d73fb01ab18b706e2cbf247a811919cc /src/glsl/builtins | |
parent | 63a92c975dd97445979c6aa1c5fef63d37bfc897 (diff) |
glsl2/builtins: Fix 1.30 sign implementation for ints.
Diffstat (limited to 'src/glsl/builtins')
-rw-r--r-- | src/glsl/builtins/130/sign | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/130/sign b/src/glsl/builtins/130/sign index 170795948b2..f86062a2443 100644 --- 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 |