Please add WebGPU support to RHI.
Thanks for your great work! WebGPU is similar to Vulkan and is also a very modern API. I wonder if you are interested in adding WebGPU support and enabling the project to be compiled and run on the web.
Hi, horel. Adding WebGPU support requires us to port LunaSDK to WebAssembly, which is not the platform we originally planned for LunaSDK. As far as I know, some libraries we use (like dxc, glfw, etc.) do not provide WebAssembly version, and some system-level functions may not even work due to restrictions of web browsers. However, porting LunaSDK to WebAssembly is feasible if we implement a lighter version of LunaSDK that excludes modules and functions that are not supported, like what we will do for Android and iOS in v0.9. This will not be supported in v0.8, but will be further investigated in v0.9 and may be supported in the next few releases.
After a few investigations, we concluded that it is feasible to add WebAssembly and WebGPU support for LunaSDK. We have created a new issue (#47 ) to track the development of WebAssembly porting, and will finish is issue during the WebAssembly development.