loader: Simplify the extension matching logic.
authorEmma Anholt <emma@anholt.net>
Tue, 29 Nov 2022 00:28:21 +0000 (16:28 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 5 Dec 2022 19:26:41 +0000 (19:26 +0000)
commite864047f971d17aa11db406083dbc9eaf2cc5956
treef6f3d7d25640d431097de28b7fc28eb60bb7c2fd
parent6229b48aaa8c783fd0d4a22d326913e7858c44ca
loader: Simplify the extension matching logic.

Also, add debug logging for missing optional extensions.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20069>
src/loader/loader.c