I have a hobby project that could use some gpu compute, I figured it would also be a great time to test out the new WebGPU API. So far I tried looking at various WebGPU demos on latest versions of both chrome canary and firefox dev edition, both having webgpu flag enabled beforehand but nothing works. In console I get various errors about some vertex buffer or some context not existing, big piles of red.
So.. I was under the impression that I could actually check it out? Does this work for anyone? Is it broken rn?
Possibly relevant system information: Windows 10, Nvidia M3000M
Can you show me the error message? If it's your own example, I guess you may not have configured how to introduce it
.wgsl
file.webpack4:
rules: [{ test: /\.wgsl$/, use: "raw-loader" }]
webpack5:
rules: [{ test: /\.wgsl$/, type: "asset/source" }]
vite:
import xxx from './xx.wgsl?raw