08bfc7395e
We already look up the image driver extension inside dri2_core_extensions, so don't do it again in the optional extensions - just do it in the swrast path so we have it covered for both. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24347>