]> zoso.dev Git - nano-pow.git/commit
Found the culprit. Atomic exchange is actually 40ms slower than atomic load, so rever...
authorChris Duncan <chris@zoso.dev>
Wed, 5 Feb 2025 14:18:33 +0000 (06:18 -0800)
committerChris Duncan <chris@zoso.dev>
Wed, 5 Feb 2025 14:18:33 +0000 (06:18 -0800)
commit91e7ce7f9005fc381f946bb38cd7360de5a509fa
tree9d12f0357f2ce22aee0cdab68c0cdb8aac8e8679
parentb2f53ef0b30bfea4c59c34edf6c1e88bfb40bdf5
Found the culprit. Atomic exchange is actually 40ms slower than atomic load, so revert to conditional load-and-store. Makes sense, it's doing two operations.
src/shaders/compute.wgsl