Shader model 6.2 was the upper bounds of what *could* be generated before, but not all devices support it. And other devices support even more. So, let's pass in the shader model / validator that will be used by the API caller. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21178>