Mesa (master): mesa: only allow EXT_gpu_shader4 in the compatibility profile
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 25 00:46:27 UTC 2019
Module: Mesa
Branch: master
Commit: 503f94b43f7bcc47b77aa0ca20416b4f9aa56157
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=503f94b43f7bcc47b77aa0ca20416b4f9aa56157
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Aug 20 23:42:22 2018 -0400
mesa: only allow EXT_gpu_shader4 in the compatibility profile
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/mesa/main/extensions_table.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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)
More information about the mesa-commit
mailing list