bgfx/tools/shaderc
kingscallop e65d185ed6
Fix DebugDraw shaders compilation (#2362)
* Fix DebugDraw shaders compilation

Pull request #2317 broke compilation of the DebugDraw shaders (vs_debugdraw_fill.sc, etc)
on the Intel mesa driver. Shaders with a version lower than 130 have no
support for uvec or ivec by default on OpenGL.

This patch detects when these shaders are present and bumps the version when appropriate.

* Removed the ivecs from the patch
It seems the ivecs are infact supported on versions lower than 130 on
OpenGL.
2021-06-06 14:05:14 -07:00
..
shaderc_glsl.cpp WebGPU: Add texture format to shaderc (bin version 10) + streamline storage Images in shaders (#2482) 2021-04-20 20:18:49 -07:00
shaderc_hlsl.cpp WebGPU: Add texture format to shaderc (bin version 10) + streamline storage Images in shaders (#2482) 2021-04-20 20:18:49 -07:00
shaderc_metal.cpp Cleanup old debug and Metal code in SPIRV shaderc paths (#2484) 2021-04-21 07:45:03 -07:00
shaderc_pssl.cpp Happy New Year! 2021-01-14 15:53:49 -08:00
shaderc_spirv.cpp Fixed build. 2021-04-21 22:11:36 -07:00
shaderc.cpp Fix DebugDraw shaders compilation (#2362) 2021-06-06 14:05:14 -07:00
shaderc.h WebGPU: Add texture format to shaderc (bin version 10) + streamline storage Images in shaders (#2482) 2021-04-20 20:18:49 -07:00