webgpu / webgpu-debugger

MIT License
69 stars 8 forks source link

Test on CI #25

Closed greggman closed 1 year ago

greggman commented 1 year ago

You don't need to merge this. I just wanted to see what would happen and I needed to create a PR to find out.

I don't think this will work until we ship since it needs canary and even when it does ship, at first it will only work on Mac because it needs a GPU (unless we ship fallback?)

greggman commented 1 year ago

Yes, as expected, it can't run because it requires canary or some build that allows enabling webpgu

Kangz commented 1 year ago

Ah damn, yeah. Maybe you can pass browser flags to it for --enable-unsafe-webgpu?

greggman commented 1 year ago

I am passing --enable-unsafe-webgpu

https://github.com/Kangz/spector2/blob/0d1b3dcc1f81ab2ba9157a1b1140bb2376e34204/test/puppeteer.js#L32

It's not that big a deal. We can turn it on when WebGPU ships but we can run it locally for now