r600: report incorrect max-vertex-attrib for GL 4.4
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 6 Jul 2018 08:29:02 +0000 (10:29 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 9 Jul 2018 15:32:31 +0000 (17:32 +0200)
commit747cf468ff41067513b6893e2fcd2b22b18e1c9b
treefbc86a7b40d8024596574c1a44c1a69708b61882
parent6706b421f042c9cc0d8c7d20e974791674acab2b
r600: report incorrect max-vertex-attrib for GL 4.4

OpenGL 4.4 requires a max vertex attrib of 2048 or higher, but
r600 only supports 2047. Technically, this makes it an GL4.3 GPU,
but it's currently exposing GL4.4.

To avoid regressing the GL version supported in the following
patches, let's just lie and pretend like we support 2048. Any
applications using 2048 are already broken anyway.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gallium/drivers/r600/r600_pipe.c