- From: Corentin Wallez <cwallez@google.com>
- Date: Mon, 4 Nov 2019 18:17:47 +0100
- To: "Jasper St. Pierre" <jstpierre@mecheye.net>
- Cc: public-gpu <public-gpu@w3.org>, Sebastien Vandenberghe <sevan@microsoft.com>
- Message-ID: <CAGdfWNM5aRCCVjtD2mRO83UktmzRRw__T-fm_ym5+A_s7YoVLQ@mail.gmail.com>
Hey Jasper, It looks like the BabylonJS demo bitrotted although I'm not sure exactly how. +CC Sebastien that made the demo. Glitch seems to have problems at the moment and I cannot access it. I'll try again later. However all the WebGPU samples work great on my Win10 machine. We can look into it, can you open a bug at crbug.com under the WebGPU component and CC cwallez@chromium.org? A paste of your about:gpu would certainly help! Cheers, Corentin On Sun, Nov 3, 2019 at 4:59 PM Jasper St. Pierre <jstpierre@mecheye.net> wrote: > Windows 10 finally has WebGPU support on Chrome Canary. However, I cannot > seem to run any of the samples. Have the samples simply bitrotted, or is > something else going on? > > The sample at > https://hello-webgpu-compute.glitch.me/hello-compute-chromium.html has a > CORS issue with GLSLang: > > > Access to script at ' > https://unpkg.com/@webgpu/glslang@0.0.7/web/glslang.js' from origin ' > https://hello-webgpu-compute.glitch.me' has been blocked by CORS policy: > The 'Access-Control-Allow-Origin' header has a value ' > https://austineng.github.io' that is not equal to the supplied origin. > > I'm not sure why unpkg.com sends a CORS header... that doesn't seem great. > > The samples at https://austineng.github.io/webgpu-samples/#helloTriangle > do not seem to generate any errors, but they do not render anything for me. > I do not know if WebGPU support on Windows 10 is incomplete, or if the > samples are not updated for the new spec. > > The BabylonJS Forest demo ( > https://www.babylonjs.com/demos/webgpu/forestwebgpu ) seems to complain > about missing assets: > > > Uncaught (in promise) TypeError: Cannot read property 'asset' of > undefined > > at e._getLoader (babylonjs.loaders.min.js:1) > > at babylonjs.loaders.min.js:1 > > Are there any samples out there that are working with latest WebGPU on > Windows 10? > > -- > Jasper >
Received on Monday, 4 November 2019 17:18:03 UTC