WebGPU compilation info for shader module "compute_Broadphase Update AABBs" (1 error(s), 0 warning(s), 0 info)
17:53:26.319
Shader validation error: Function [4] 'compute' is invalid
┌─ compute_Broadphase Update AABBs:56:1
│
56 │ ╭ fn compute ( positions: ptr<storage, array<vec4f>, read>,
57 │ │ velocities: ptr<storage, array<vec4f>, read>,
58 │ │ quaternions: ptr<storage, array<vec4f>, read>,
59 │ │ shapes: ptr<storage, array<vec4f>, read>,
· │
117 │ │ aabbPositions[base + 8u] = pos.z;
118 │ │ }
│ ╰───────^ naga::ir::Function [4]
│
= Argument 'positions' at index 0 is a pointer of space Storage { access: StorageAccess(LOAD) }, which can't be passed into functions.