mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
mesa: glsl: re-order some constructors
This commit is contained in:
parent
c72bc3f372
commit
9d9076af5c
1 changed files with 12 additions and 12 deletions
|
|
@ -110,6 +110,16 @@ int __constructor(const float f)
|
|||
__asm float_to_int __retVal, f;
|
||||
}
|
||||
|
||||
int __constructor(const bool b)
|
||||
{
|
||||
__retVal = b;
|
||||
}
|
||||
|
||||
int __constructor(const int i)
|
||||
{
|
||||
__retVal = i;
|
||||
}
|
||||
|
||||
bool __constructor(const int i)
|
||||
{
|
||||
const float zero = 0.0;
|
||||
|
|
@ -122,12 +132,7 @@ bool __constructor(const float f)
|
|||
__asm vec4_sne __retVal, f, zero;
|
||||
}
|
||||
|
||||
int __constructor(const bool b)
|
||||
{
|
||||
__retVal = b;
|
||||
}
|
||||
|
||||
float __constructor(const bool b)
|
||||
bool __constructor(const bool b)
|
||||
{
|
||||
__retVal = b;
|
||||
}
|
||||
|
|
@ -137,16 +142,11 @@ float __constructor(const int i)
|
|||
__asm int_to_float __retVal, i;
|
||||
}
|
||||
|
||||
bool __constructor(const bool b)
|
||||
float __constructor(const bool b)
|
||||
{
|
||||
__retVal = b;
|
||||
}
|
||||
|
||||
int __constructor(const int i)
|
||||
{
|
||||
__retVal = i;
|
||||
}
|
||||
|
||||
float __constructor(const float f)
|
||||
{
|
||||
__retVal = f;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue