diff options
author | Brian Paul <[email protected]> | 2008-08-04 15:32:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-04 17:14:49 -0600 |
commit | 3b5f9588e79ea023ea2ecea755918ab35799a82a (patch) | |
tree | 7e59e41b1379be94dc796826d680ee30e851a5cd /src | |
parent | 50ecc38545ff59e9f99d092eebf555816ee3f7f0 (diff) |
mesa: glsl: added vec4(ivec4) constructor
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/library/slang_core.gc | 5 |
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 |