From 11f383adfeae2613cbdad33d5d02b97afa8d248c Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 14 Jan 2025 12:05:02 -0800 Subject: [PATCH] Replace remaining scalar of threshold comaparison with vector variable. --- src/shaders/compute.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shaders/compute.wgsl b/src/shaders/compute.wgsl index afa452c..5ff47db 100644 --- a/src/shaders/compute.wgsl +++ b/src/shaders/compute.wgsl @@ -9641,7 +9641,7 @@ fn main(@builtin(global_invocation_id) id: vec3) { /** * Set nonce if it passes the threshold and no other thread has set it */ - if ((BLAKE2B_IV32_1 ^ v_01.y ^ v17) > threshold && atomicLoad(&work.found) == 0u) { + if ((BLAKE2B_IV32_1 ^ v_01.y ^ v_1617.y) > threshold && atomicLoad(&work.found) == 0u) { atomicStore(&work.found, 1u); work.nonce.x = m0; work.nonce.y = m1; -- 2.34.1