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 45cf1c6fd095150134534a9bf4dc8e43bb5dfa3e..26080cf26ca689dea62e2e5388125d29af7645a7 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)