mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
In non-embedded shaders there is a separation between essl binaries (examples/runtime/shaders/essl) and glsl binaries (examples/runtime/shaders/glsl). On embedded shaders there is no such separation and by default essl shaders are being used by the OpenGL runtime. This usually doesn't cause any issues but in the case of the debugdraw shaders, that started using uvec4, this now leads to a runtime error. This patch fixes this by splitting the embedded shaders into essl and glsl. As asked, this is the first part of the change. To be able to compile the 'examples/common/debugdraw' shaders, pull request #2362 is needed.