widberg / bgfx.cmake

https://github.com/bkaradzic/bgfx.cmake. Independently maintained CMake build scripts for bgfx. Released under public domain.
https://github.com/bkaradzic/bgfx.cmake
Creative Commons Zero v1.0 Universal
286 stars 252 forks source link

WebGPU update #78

Closed bwrsandman closed 4 years ago

bwrsandman commented 4 years ago

Recently, there has been a 3rdparty addition for bgfx. This requires adding a cmake file for 3rdparty/webgpu and linking it properly.

pezcode commented 4 years ago

Are you getting compile errors when trying to use other backends? Otherwise, I'd suggest waiting a little bit before implementing this, since the WebGPU backend is recent enough that there will likely still be changes in the bgfx build system. It's also missing recompiled shaders to be usable right now.

bwrsandman commented 4 years ago

Yes it fails to compile if updating the bgfx submodule

pgruenbacher commented 4 years ago

https://github.com/widberg/bgfx.cmake/pull/83 yea try this then.