fix w component of glsl vec4 asin
authorRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 31 Jan 2008 00:32:46 +0000 (01:32 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 31 Jan 2008 00:43:13 +0000 (01:43 +0100)
src/mesa/shader/slang/library/slang_common_builtin.gc

index 45cf1c6..26080cf 100644 (file)
@@ -343,6 +343,7 @@ vec4 asin(const vec4 v)
    __retVal.x = asin(v.x);
    __retVal.y = asin(v.y);
    __retVal.z = asin(v.z);
+   __retVal.w = asin(v.w);
 }
 
 float acos(const float x)