summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2008-01-31 01:32:46 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2008-01-31 01:43:13 +0100
commit4cc06635641bd41c1b4ae4c3786913d54a135cdd (patch)
tree66f5ae6d1a4abe769c667fc82fe1448b41aa0aec /src
parent2f7c80495250612c88adaa479f7335583dbc3ba2 (diff)
fix w component of glsl vec4 asin
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/library/slang_common_builtin.gc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/library/slang_common_builtin.gc b/src/mesa/shader/slang/library/slang_common_builtin.gc
index 45cf1c6fd0..26080cf26c 100644
--- a/src/mesa/shader/slang/library/slang_common_builtin.gc
+++ b/src/mesa/shader/slang/library/slang_common_builtin.gc
@@ -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)