summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtin_function.cpp')
-rw-r--r--src/glsl/builtin_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp
index d897fa65ec5..7e40cd7cc9c 100644
--- a/src/glsl/builtin_function.cpp
+++ b/src/glsl/builtin_function.cpp
@@ -2138,7 +2138,7 @@ static const char *builtin_normalize =
" (signature float\n"
" (parameters\n"
" (declare (in) float arg0))\n"
- " ((return (constant float (1.0)))))\n"
+ " ((return (expression float sign (var_ref arg0)))))\n"
"\n"
" (signature vec2\n"
" (parameters\n"