Emscripten compilation and execution in browsers#787
Emscripten compilation and execution in browsers#787j8asic wants to merge 13 commits intoshader-slang:mainfrom
Conversation
ccummingsNV
left a comment
There was a problem hiding this comment.
This is exciting stuff and looks mostly sane to me, but I'd need @skallweitNV to take a look as he understands the build process better than me.
I don't think we can really ship this without it being part of the testing suite either. Currently almost all tests run on all platforms. How do we want to approach that.
|
@j8asic thanks for the contribution. This is really cool to see! Let's first merge the slang-rhi PR and then get to this one after that. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
thanks @ccummingsNV @skallweitNV; bumping to the latest slang version and merging the slang-rhi PR, this is almost ready for review. |
This is a draft PR where SGL compiles using Emscripten.
It relies on RHI PR to be merged: shader-slang/slang-rhi#609 and Slang's PR shader-slang/slang#9818 to produce WASM libraries to be automatically used for RHI/SGL compilation