From 4cc06635641bd41c1b4ae4c3786913d54a135cdd Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 31 Jan 2008 01:32:46 +0100 Subject: [PATCH] fix w component of glsl vec4 asin --- src/mesa/shader/slang/library/slang_common_builtin.gc | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2