glsl2: Fix asin() implementation.
authorEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 19:22:37 +0000 (12:22 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 19:24:01 +0000 (12:24 -0700)
commit1245babe0c69846d227a78a11429584433e77a9e
treeec175906824124f6b32e7754c6532ee3a6a43cdb
parent117d154b4d877e8c4d7880432af0a80b8f717dc6
glsl2: Fix asin() implementation.

I'd flipped around the order of two operations in paren-balancing
adventures, and left out the multiply by sign(x) required for negative x.

Fixes:
glsl1-acos(vec4) function
glsl1-asin(vec4) function
glsl1-atan(vec4) function
src/glsl/builtin_function.cpp
src/glsl/builtins/110/asin