mesa: Cosmetic cleanups to GL_EXT_texture_sRGB_R8
This extension dates to 2015 not 2018, and since there's only one texture format to check for the additional GL_TRUE is meaningless. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8060>
This commit is contained in:
@@ -322,7 +322,7 @@ EXT(EXT_texture_query_lod , ARB_texture_query_lod
|
||||
EXT(EXT_texture_rectangle , NV_texture_rectangle , GLL, x , x , x , 2004)
|
||||
EXT(EXT_texture_rg , ARB_texture_rg , x , x , x , ES2, 2011)
|
||||
EXT(EXT_texture_sRGB , EXT_texture_sRGB , GLL, GLC, x , x , 2004)
|
||||
EXT(EXT_texture_sRGB_R8 , EXT_texture_sRGB_R8 , GLL ,GLC, x , 30, 2018)
|
||||
EXT(EXT_texture_sRGB_R8 , EXT_texture_sRGB_R8 , GLL ,GLC, x , 30, 2015)
|
||||
EXT(EXT_texture_sRGB_decode , EXT_texture_sRGB_decode , GLL, GLC, x , 30, 2006)
|
||||
EXT(EXT_texture_shadow_lod , EXT_texture_shadow_lod , GLL, GLC, x , 30, 2018)
|
||||
EXT(EXT_texture_shared_exponent , EXT_texture_shared_exponent , GLL, GLC, x , x , 2004)
|
||||
|
||||
@@ -980,8 +980,7 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
GL_TRUE }, /* at least one format must be supported */
|
||||
|
||||
{ { o(EXT_texture_sRGB_R8) },
|
||||
{ PIPE_FORMAT_R8_SRGB },
|
||||
GL_TRUE },
|
||||
{ PIPE_FORMAT_R8_SRGB }, },
|
||||
|
||||
{ { o(EXT_texture_type_2_10_10_10_REV) },
|
||||
{ PIPE_FORMAT_R10G10B10A2_UNORM,
|
||||
|
||||
Reference in New Issue
Block a user