summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/library/slang_core.gc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/library/slang_core.gc b/src/mesa/shader/slang/library/slang_core.gc
index 0dfc03883f2..218383e001d 100644
--- a/src/mesa/shader/slang/library/slang_core.gc
+++ b/src/mesa/shader/slang/library/slang_core.gc
@@ -257,6 +257,11 @@ vec4 __constructor(const bvec4 b)
__retVal = b;
}
+vec4 __constructor(const ivec4 i)
+{
+ __retVal = i;
+}
+
vec4 __constructor(const vec3 v3, const float f)
{
// XXX this constructor shouldn't be needed anymore