mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
apparently & is not defined on bvec4
why does this even compile on Intel and Nvidia?
This commit is contained in:
@ -1568,7 +1568,10 @@ void main()
|
||||
bvec4 polyIdMismatch = notEqual(uvec4(polyId), otherPolyId);
|
||||
bvec4 nearer = lessThan(uvec4(depth.x), otherDepth);
|
||||
|
||||
if (any(polyIdMismatch & nearer))
|
||||
if ((polyIdMismatch.x && nearer.x)
|
||||
|| (polyIdMismatch.y && nearer.y)
|
||||
|| (polyIdMismatch.z && nearer.z)
|
||||
|| (polyIdMismatch.w && nearer.w))
|
||||
{
|
||||
color.x = ToonTable[polyId >> 3].b | (color.x & 0xFF000000U);
|
||||
attr.x = (attr.x & 0xFFFFE0FFU) | 0x00001000U;
|
||||
|
Reference in New Issue
Block a user