Kyle Lukaszek
Kyle Lukaszek
Hey! I’ve been working on this in my spare time and I’ve managed to get the driver entry working for the example test suite. I’m planning on getting to work...
Cycling between demos using A and D will result in failure due to missing function implementations for the GPU driver. I also had to kind of hack in a way...
The crashing mentioned in the earlier tweet was a result of a problem where any event would trigger a resize event causing swapchain recreation. This has been solved. So far...
## Here's the latest update on my WebGPU progress. https://x.com/KyleLukaszek/status/1839631105646862343 ## Video for those of you who don't have access to Twitter: https://github.com/user-attachments/assets/4636608d-25e4-498f-8f24-d9c6d9667549 # Update I ended up DM'ing with...
Here’s a live demo to test the current status of the example suite. [www.kylelukaszek.xyz](https://kylelukaszek.xyz/SDL3-WebGPU-Examples/)
Yeah I’m gonna end up moving the shader cross-compilation to SDL_gpu_shadercross now that I know that the Tint compiled shaders run properly. As for loading WGSL shaders, I’ll just add...
I managed to rebase and get everything working again with the latest commits! Next, I'll work on removing the shader compilation from SDL and moving it to SDL_ShaderCross. I have...
I moved all shader compilation logic over to ShaderCross and updated the WebGPU backend to have WGSL as the expected shader format. I have tested loading WGSL from a file...
The demo is currently only working for the most basic of shaders so I’m not sure if it’s entirely ready yet. My SDL fork should be good for a PR...
As for ShaderCross, My current solution for loading Tint into ShaderCross uses a static library as opposed to using SDL_LoadObject() since WASM requires the use of static libraries, not dynamic...