glx: Mark GLX_{ATI_pixel_format_float,NV_float_buffer} as supported

... at least as far as libGL is concerned, because they'd work just fine
if you tried. The only thing the ATI extension seems to add (I can't
find an official spec, this is inferred from the registry XML) is
selecting the GLX_RENDER_TYPE, which we don't validate before putting on
the wire. The only thing the NV extension adds is an additional fbconfig
attribute, and that only known by glXGetFBConfigAttrib; our
implementation of that just reads the value the server sends, if any,
and doesn't try to filter out unknown attributes.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10223>
This commit is contained in:
Adam Jackson 2021-04-13 16:54:31 -04:00 committed by Marge Bot
parent fcc9ce09d4
commit 896c650b1b
1 changed files with 2 additions and 2 deletions

View File

@ -144,13 +144,13 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(EXT_texture_from_pixmap), Y, N, N, N },
{ GLX(EXT_visual_info), Y, Y, N, N },
{ GLX(EXT_visual_rating), Y, Y, N, N },
{ GLX(ATI_pixel_format_float), N, N, N, N },
{ GLX(ATI_pixel_format_float), Y, N, N, N },
{ GLX(INTEL_swap_event), Y, N, N, N },
{ GLX(MESA_copy_sub_buffer), Y, N, N, N },
{ GLX(MESA_multithread_makecurrent), Y, N, N, Y },
{ GLX(MESA_query_renderer), Y, N, N, Y },
{ GLX(MESA_swap_control), Y, N, N, Y },
{ GLX(NV_float_buffer), N, N, N, N },
{ GLX(NV_float_buffer), Y, N, N, N },
{ GLX(OML_swap_method), Y, Y, N, N },
{ GLX(OML_sync_control), Y, N, N, Y },
{ GLX(SGIS_multisample), Y, Y, N, N },