mesa: glsl: added vec4(ivec4) constructor

This commit is contained in:
Brian Paul 2008-08-04 15:32:07 -06:00
parent 50ecc38545
commit 3b5f9588e7

View file

@ -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