mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
mesa: added some missing equal() notEqual() intrinsics
cherry-picked from master
This commit is contained in:
parent
8f98242d40
commit
adc709e996
1 changed files with 33 additions and 0 deletions
|
|
@ -1496,6 +1496,23 @@ bvec4 equal(const ivec4 u, const ivec4 v)
|
|||
__asm vec4_seq __retVal, u, v;
|
||||
}
|
||||
|
||||
bvec2 equal(const bvec2 u, const bvec2 v)
|
||||
{
|
||||
__asm vec4_seq __retVal.xy, u, v;
|
||||
}
|
||||
|
||||
bvec3 equal(const bvec3 u, const bvec3 v)
|
||||
{
|
||||
__asm vec4_seq __retVal.xyz, u, v;
|
||||
}
|
||||
|
||||
bvec4 equal(const bvec4 u, const bvec4 v)
|
||||
{
|
||||
__asm vec4_seq __retVal, u, v;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//// notEqual
|
||||
|
||||
|
|
@ -1529,6 +1546,22 @@ bvec4 notEqual(const ivec4 u, const ivec4 v)
|
|||
__asm vec4_sne __retVal, u, v;
|
||||
}
|
||||
|
||||
bvec2 notEqual(const bvec2 u, const bvec2 v)
|
||||
{
|
||||
__asm vec4_sne __retVal.xy, u, v;
|
||||
}
|
||||
|
||||
bvec3 notEqual(const bvec3 u, const bvec3 v)
|
||||
{
|
||||
__asm vec4_sne __retVal.xyz, u, v;
|
||||
}
|
||||
|
||||
bvec4 notEqual(const bvec4 u, const bvec4 v)
|
||||
{
|
||||
__asm vec4_sne __retVal, u, v;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//// any
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue