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;