summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2008-01-31 01:35:52 +0100
committerRoland Scheidegger <[email protected]>2008-01-31 01:35:52 +0100
commitf6de56b88a69fd52bb56dd87628c501cba480c3f (patch)
treebac2a43afd89d517f26d30cff3d7882ed93643a4 /src
parentd64ea43b7637595338183de81638b91a9279bdc2 (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 45cf1c6fd09..26080cf26ca 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)