From 3b5f9588e79ea023ea2ecea755918ab35799a82a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 4 Aug 2008 15:32:07 -0600 Subject: [PATCH] mesa: glsl: added vec4(ivec4) constructor --- src/mesa/shader/slang/library/slang_core.gc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2