juj / wasm_webgpu

System headers for interfacing WebGPU from C programs compiled via Emscripten to WebAssembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Chrome origin trial

yowl opened this issue · comments

commented

Everything is great with the flag on, but with the origin trial meta http-equiv="origin-trial" header, My page (https://yowl.github.io/Particles/) just never gets a response, error or callback from wgpu[adapter]['requestDevice']( . Just wanted to ask if anyone has experience of the origin trial working?

commented

I haven't tried the origin trial, just been developing with the --enable-unsafe-webgpu flag. I wonder if @kainino0x might know: is the WebGPU origin trial currently active and should work?

commented

When I run the page in my stable Google Chrome, it runs ok:

image
That should not have the --enable-unsafe-webgpu flag in there. Maybe the origin trial took a moment to register?

commented

ok, thanks. I will try stable as I was using canary.