mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 04:10:25 +01:00
mesa: glsl: added vec4(ivec4) constructor
This commit is contained in:
parent
50ecc38545
commit
3b5f9588e7
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue