Lot of synchronization changes

This commit is contained in:
Dynamitos committed 2024-06-07 14:56:42 +02:00
1 parent cb21e8a85a
commit bc0d05dbb0
14 files changed
+686 -515

No files matched your search

+6 -1
View File
@@ -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;
}
};