From 6af3ce5d881852d1151f71039cbf4b5d38758abe Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 10 Jan 2025 10:18:29 -0800 Subject: [PATCH] Update devdeps. Formatting for linebreak. --- package.json | 7 ++++--- src/shaders/gpu-compute.ts | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6ee9244..8b6fb75 100644 --- a/package.json +++ b/package.json @@ -48,10 +48,11 @@ "test:performance": "npm run build && esbuild perf.min=test/perf.main.mjs --outdir=dist --target=esnext --format=esm --platform=browser --bundle --sourcemap" }, "devDependencies": { - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@webgpu/types": "^0.1.52", - "esbuild": "^0.24.0", - "typescript": "^5.6.3" + "esbuild": "^0.24.2", + "esbuild-plugin-glsl": "^1.2.2", + "typescript": "^5.7.3" }, "type": "module", "exports": "./dist/main.js", diff --git a/src/shaders/gpu-compute.ts b/src/shaders/gpu-compute.ts index 4da8899..340c50f 100644 --- a/src/shaders/gpu-compute.ts +++ b/src/shaders/gpu-compute.ts @@ -24,8 +24,7 @@ const BLAKE2B_IV32_1: u32 = 0x6A09E667u; * UBO. High 4 bytes are the random value XOR'd with index of each thread. */ @compute @workgroup_size(256) -fn main(@builtin(global_invocation_id) id: vec3 -) { +fn main(@builtin(global_invocation_id) id: vec3) { if (atomicLoad(&work.found) != 0u) { return; } let threshold: u32 = ubo.threshold; -- 2.34.1