forked from Dynamitos/Seele
Lot of synchronization changes
This commit is contained in:
1 parent
cb21e8a85a
commit
bc0d05dbb0
14 files changed
+686
-515
No files matched your search
@@ -48,7 +48,12 @@ struct MeshletCullingInfo
|
||||
}
|
||||
bool anyVisible()
|
||||
{
|
||||
return (visible[0] + visible[1] + visible[2] + visible[3]) != 0;
|
||||
uint result = 0;
|
||||
for(uint i = 0; i < MAX_PRIMITIVES / 32; ++i)
|
||||
{
|
||||
result |= visible[i];
|
||||
}
|
||||
return result != 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user