Some actually useful metal changes???

This commit is contained in:
Dynamitos committed 2024-11-01 21:04:06 +01:00
1 parent 2811757476
commit 32d3bd8ad8
26 files changed
+152 -73

No files matched your search

+2 -2
View File
@@ -216,7 +216,7 @@ template <size_t Power> class CBT {
uint32_t first_bit = tree.depthOffset[currentDepth] + tree.bitCount[currentDepth] * id_in_level;
uint32_t local_id = first_bit % 64;
uint64_t target_bits = (heapValue >> local_id) & tree.bitMask[currentDepth];
uint32_t heapValue = c - countbits(target_bits);
uint32_t heapValue = c - std::popcount(target_bits);
uint32_t b = handle < heapValue ? 0u : 1u;
@@ -507,4 +507,4 @@ struct MeshUpdater {
Gfx::OComputeShader lebEvaluateCS;
Gfx::PComputePipeline lebEvaluate;
};
}; // namespace Seele
}; // namespace Seele