mesa: Trivially advertise NV_generate_mipmap_sRGB

... if you have EXT_framebuffer_sRGB. The extension just relaxes an
error check that we're already not performing, and sRGB rendering
implies sRGB texture support, and mipmap generation would need it to be
a valid render format. So advertise it if EXT_framebuffer_sRGB works.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19476>
This commit is contained in:
Adam Jackson
2022-10-17 17:13:22 -04:00
committed by Marge Bot
parent 2aad8dbfa5
commit a5a19903ab

View File

@@ -404,6 +404,7 @@ EXT(NV_fbo_color_attachments , dummy_true
EXT(NV_fill_rectangle , NV_fill_rectangle , GLL, GLC, x , x , 2015)
EXT(NV_fog_distance , NV_fog_distance , GLL, x , x , x , 2001)
EXT(NV_fragment_shader_interlock , ARB_fragment_shader_interlock , GLL, GLC, x , 31, 2015)
EXT(NV_generate_mipmap_sRGB , EXT_framebuffer_sRGB , x , x , ES1, ES2, 2012)
EXT(NV_half_float , ARB_half_float_vertex , GLL, x , x , x , 2001)
EXT(NV_image_formats , dummy_true , x , x , x , 31, 2014)
EXT(NV_light_max_exponent , dummy_true , GLL, x , x , x , 1999)