From 6df64ecefe22a909175d7a0a5076f01402940764 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 16 Jun 2024 12:59:20 -0700 Subject: [PATCH] vec3 -> vec3u --- webgpu/webgpu-simple-compute.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgpu/webgpu-simple-compute.html b/webgpu/webgpu-simple-compute.html index 24d6e2c7..21db4c74 100644 --- a/webgpu/webgpu-simple-compute.html +++ b/webgpu/webgpu-simple-compute.html @@ -25,7 +25,7 @@ @group(0) @binding(0) var data: array; @compute @workgroup_size(1) fn computeSomething( - @builtin(global_invocation_id) id: vec3 + @builtin(global_invocation_id) id: vec3u ) { let i = id.x; data[i] = data[i] * 2.0;