e607205af0
If a shader has no defined version force_glsl_version was previous ignored and the shader would default to 110. This updates the code so that those shaders are forced to a new level also. We reused the existing code to make sure a sensible value is set for the version. Cc: mesa-stable Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11602>