On 27 September 2016 at 00:04, Matteo Bruni mbruni@codeweavers.com wrote:
v2: Key the use of the round() builtin on the GLSL version used by the shader. I'm not sure this is exactly what you had in mind but at least this looks quite a bit nicer to me than v1.
Close enough. I think you can just use shader_glsl_get_version() and "#version %u" in the places you're currently using shader_glsl_get_version_declaration(), but it doesn't matter that much.