glsl/float64: Bump #version to 400
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Mar 2021 21:56:35 +0000 (13:56 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Mar 2021 09:30:24 +0000 (09:30 +0000)
commita48151ffada15ebc81a8a4dee935afae7e09fefc
tree092cf38a61b824bc0cace8f27d83c4f71adcb9f6
parentd1eab2b1eb1dec10197db7d25e27d97f6ca1a2ea
glsl/float64: Bump #version to 400

An earlier commit tried to make this shader compatible with GLSL 3.30,
but it requires, GL_ARB_gpu_shader_int64, which requires GLSL 4.00 and
GL 4.0 according to the extension spec.  So we were failing to enable
the required extension, breaking compilation of this shader.

The original intention of that patch was to get this working on zink,
which at the time only supported GL 3.3.  But now it supports later
OpenGL versions, so we don't need to do this any longer.  Rather than
revert the patch and raise the version all the way back to 430, just
bump it to the require 400 at Ian Romanick's suggestion.

Fixes: 4d47b22bf00 ("glsl/float64: make this compatible with glsl 330")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3991
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9351>
src/compiler/glsl/float64.glsl