...looks like I'm stuck with the WebGPU backend until Monday when I'll have access to my Windows laptop
WebGPU doesn't seem to be yet in Chrome Canary on macOS, and Apple's impl in Safari is different enough that the current webgpu.h header in emscripten doesn't get me far.
-
-
Prikaži ovu nit
-
...working with emscripten on Windows isn't exactly something I'm looking forward to ;) Guess that's why they call it the "bleeding edge" :D
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
Looks like the I have the most basic sokol-gfx sample working in WebGPU (clear loop with animated clear color). The next step (colored triangle) will be a bit more work naturally :)pic.twitter.com/BJFAiYcxc2
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Nice! I guess that means emscripten supports WebGPU now :). Is there any minimalist sample I could look at? (Like how to draw a triangle) Could not find anything :/.
-
Yep, the initial WebGPU support was added by the Google Dawn team, and landed in the emscripten master branch (formerly "incoming") about a week ago:https://github.com/emscripten-core/emscripten/pull/10218 …
- Još 11 drugih odgovora
Novi razgovor -
-
-
I wonder how this WebGPU thing is implement on a browser level. Is it done via Vulkan?
-
AFAIK all cross-platform browsers will use D3D12 on Windows, Metal on macOS/iOS and Vulkan on Linux/Android. Not sure about Win7 though, either D3D11, or that new D3D12-for-Win7. One important design goal for WebGPU was that it maps well to all the new 3D-APIs.
Kraj razgovora
Novi razgovor -
-
-
Looking forward to it. This might be my opportunity to do some cool webstuff with less friction and also to finally give Sokol a fair shot if I can end up using compute. :D
-
I won't promise any sort of Compute support yet though ;) (currently I just want to get a normal backend for the existing sokol-gfx API working). Maybe I get a few new ideas how to add compute support as some sort of optional API extension while working on the new backend.
Kraj razgovora
Novi razgovor -
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.