Hopefully fixed culling now

This commit is contained in:
Dynamitos committed 2024-08-31 13:29:33 +02:00
1 parent 88eacd067e
commit d7aefc07f3
7 files changed
+24 -65

No files matched your search

-2
View File
@@ -26,9 +26,7 @@ void taskMain(
uint cull = p.cullingOffset + i;
MeshletDescription meshlet = pScene.meshletInfos[m];
MeshletCullingInfo culling = pScene.cullingInfos[cull];
#ifdef DEPTH_CULLING
if(culling.wasVisible())
#endif
{
uint index;
InterlockedAdd(head, 1, index);