glsl/builtins: Fix invalid vecN constants in hyperbolic functions.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 5 Sep 2011 19:20:18 +0000 (12:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 7 Sep 2011 14:46:57 +0000 (07:46 -0700)
commitf6481be2988a872b16c76cc7f66acc6a2182bbd8
tree0fbc5b3a5853ecf18fa1242d4656e547326ecc1c
parent99c1a58b3067893d4fa444cd4abcf13bb43232ef
glsl/builtins: Fix invalid vecN constants in hyperbolic functions.

Each of these vecN constants only provided one component, which is
illegal.  The printed IR is meant to contain exactly as many components
as are necessary; the IR reader does not splat single values.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/builtins/ir/acosh
src/glsl/builtins/ir/asinh
src/glsl/builtins/ir/atanh
src/glsl/builtins/ir/cosh
src/glsl/builtins/ir/sinh