emscripten-core / emscripten-core/emsdk
how to compile webgl and webgpu into the same package
Open
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 821
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 3
Description
i wrote an rendering engine with webgl as the backend , now add webgpu as an optional backend. How do I compile both graphic api to the same js pakage with compiler directive, I tried, but only one graphic interface worked, when i build webgpu package, the webgl will not work , the prompt is that "GL is not defined"...
Anybody give me some help? Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.