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 254 forks source link

Fix shaderc, add_shader and update bgfx #19

Closed Lectem closed 6 years ago

Lectem commented 6 years ago

Shaderc would crash / hang because glsl-optimizer requires has undefined behaviour when strict aliasing is enabled. Latest bgfx also fixes many memory leaks. ARG_GLSL was used while the argument parsed was ARG_GLSL_VERSION. Metal is now a profile according to bgfx examples