I often get bitten by the NVidia drivers GLSL permissivity : I often make small mistakes, such as implicit types conversions, like ‘pow(color.rgb, 2.0)’ which is non conform, and thus should not compile - NVidia compiler tend to let these ‘errors’ pass.
It brings me problems when switching my platform, and compiling GLSL code on AMD, which is not so tolerant.
I was wondering how you did handle your GLSL code validation ? Is there a tool out there that could ‘objectively’ validate GLSL syntax ?
I’m aware of 3DLabs “GLSL Validate”, but I believe it’s not maintained any more. MESA could be a candidate, but I don’t think there’s a standalone executable that compiles GLSL.