summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/builtins/130/sign2
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