]> zoso.dev Git - nano-pow.git/commitdiff
Revert to single dimensional workgroup size since that apparently does in fact matter...
authorChris Duncan <chris@zoso.dev>
Sat, 25 Jan 2025 07:29:26 +0000 (23:29 -0800)
committerChris Duncan <chris@zoso.dev>
Sat, 25 Jan 2025 07:29:26 +0000 (23:29 -0800)
src/shaders/compute.wgsl

index e797a22c09dddffabfa0d95be02ced3f0e3d9d43..5c2e2229b1d36bee358afcff38858fd59b5322ce 100644 (file)
@@ -33,7 +33,7 @@ const ROTATE_31 = vec2(31u, 31u);
 * Search compute function
 * Calls main with a workgroup size of 64 which has been tested as optimal
 */
-@compute @workgroup_size(8,8)
+@compute @workgroup_size(64)
 fn search(@builtin(global_invocation_id) global_id: vec3<u32>) {
        if (atomicLoad(&work.found) != 0u) { return; }
        main(global_id);