i965: Allow viewport array extensions with allow_higher_compat_version
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 13 Oct 2020 01:13:19 +0000 (18:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Oct 2020 16:02:19 +0000 (09:02 -0700)
commitde77fabe132d63fa3ae951e7d48e89b74ef75e89
treeac793d9d58334b4ace2cfbd65bcd5f498f4d94bb
parent9223842c6b3b4082059f3200d0b74c708bde6cfa
i965: Allow viewport array extensions with allow_higher_compat_version

Also fix the obtuse comment.  I had to dig back through the commit logs
to find the real issue.  GL_ARB_viewport_array requires geometry
shaders, and in i965 the only way to have that is with a 3.2+ Core
profile context... or use allow_higher_compat_version.

This increases the maximum Compatibility profile version from 4.0 to 4.6
(on supported hardware) when the allow_higher_compat_version option is
used.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7118>
src/mesa/drivers/dri/i965/intel_extensions.c