From: Marek Olšák Date: Tue, 21 Aug 2018 03:42:22 +0000 (-0400) Subject: mesa: only allow EXT_gpu_shader4 in the compatibility profile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=503f94b43f7bcc47b77aa0ca20416b4f9aa56157;p=mesa.git mesa: only allow EXT_gpu_shader4 in the compatibility profile Tested-by: Dieter Nützel Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 21903e52af6..717f64612ff 100644 --- a/src/mesa/main/extensions_table.h +++ b/src/mesa/main/extensions_table.h @@ -240,7 +240,9 @@ EXT(EXT_framebuffer_sRGB , EXT_framebuffer_sRGB EXT(EXT_geometry_point_size , OES_geometry_shader , x , x , x , 31, 2015) EXT(EXT_geometry_shader , OES_geometry_shader , x , x , x , 31, 2015) EXT(EXT_gpu_program_parameters , EXT_gpu_program_parameters , GLL, x , x , x , 2006) -EXT(EXT_gpu_shader4 , EXT_gpu_shader4 , GLL, GLC, x , x , 2006) +/* Since all of EXT_gpu_shader4 features were rolled into GLSL 1.40, it shouldn't be exposed in a core context. + * Additionally, EXT_gpu_shader4 would reintroduce functions that were removed in GLSL 1.40. */ +EXT(EXT_gpu_shader4 , EXT_gpu_shader4 , GLL, x , x , x , 2006) EXT(EXT_gpu_shader5 , ARB_gpu_shader5 , x , x , x , 31, 2014) EXT(EXT_map_buffer_range , ARB_map_buffer_range , x , x , ES1, ES2, 2012) EXT(EXT_memory_object , EXT_memory_object , GLL, GLC, x , ES2, 2017)