glx: Don't downgrade the visual caveat from the server
authorAdam Jackson <ajax@redhat.com>
Tue, 6 Apr 2021 19:50:35 +0000 (15:50 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Apr 2021 21:43:04 +0000 (21:43 +0000)
commit8917ca8af55df9321fbaa8ad67ceed716abb8ce7
treec514b5489b5631b1e191b4192cd21f3a8f6120d3
parent7934b283dd417f3b42dbd09e4f2db4f970256491
glx: Don't downgrade the visual caveat from the server

Mesa marks accumful fbconfigs as slow (for no especially good reason,
it's only accum operations that aren't accelerated, and we could fix
that). NVIDIA doesn't. All that mismatching on this attribute can do is
prevent a config from working exactly as well as it possibly can.

Trust the server's opinion here (but warn if you ask for warnings).

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1648>
src/glx/dri_common.c