glsl/builtins: normalize of a negative scalar should be -1.0.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Sep 2010 22:15:31 +0000 (15:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Sep 2010 22:23:12 +0000 (15:23 -0700)
commit6dcca5a308efd7a85caa52f970ed020926c487e9
treeacb9a806833f255030a617168eb4904ef58478d8
parent6fe1b479ca92b8abc7461d4be1c019bbefe0ef51
glsl/builtins: normalize of a negative scalar should be -1.0.
src/glsl/builtin_function.cpp
src/glsl/builtins/ir/normalize