Idk what is still missing

This commit is contained in:
Dynamitos committed 2024-10-21 11:13:26 +02:00
1 parent 17746f8d20
commit 07dad4641d
9 files changed
+909 -157

No files matched your search

+2 -4
View File
@@ -396,11 +396,9 @@ void reduce_second_pass(uint groupIndex)
GroupMemoryBarrierWithGroupSync();
// Load the bitfield to the LDS
for (uint e = 0; e < 5; ++e)
for (uint i = groupIndex; i < 319; i+=WORKGROUP_SIZE)
{
uint target_element = 5 * groupIndex + e;
if (target_element < 319)
pParams.cbtBuffer[target_element] = gs_cbtTree[target_element];
pParams.cbtBuffer[i] = gs_cbtTree[i];
}
}