From: Marek Olšák Date: Tue, 7 Aug 2018 21:49:42 +0000 (-0400) Subject: mesa: enable glGet for EXT_gpu_shader4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1faf833949bd55a19b15b7bdb963dbb77aea47f8;p=mesa.git mesa: enable glGet for EXT_gpu_shader4 Reviewed-by: Timothy Arceri Reviewed-by: Ian Romanick Tested-by: Dieter Nützel Reviewed-by: Eric Anholt --- diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml index b4120b9c192..55437c0de2c 100644 --- a/src/mapi/glapi/gen/EXT_gpu_shader4.xml +++ b/src/mapi/glapi/gen/EXT_gpu_shader4.xml @@ -32,10 +32,6 @@ - diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index efc9c11f79d..8a7b1e42906 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -315,9 +315,10 @@ static const int extra_EXT_texture_integer_and_new_buffers[] = { EXTRA_END }; -static const int extra_GLSL_130_es3[] = { +static const int extra_GLSL_130_es3_gpushader4[] = { EXTRA_GLSL_130, EXTRA_API_ES3, + EXT(EXT_gpu_shader4), EXTRA_END }; diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 60ec1a8598c..f7efb81b7c7 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -439,8 +439,8 @@ descriptor=[ [ "READ_FRAMEBUFFER_BINDING_EXT", "LOC_CUSTOM, TYPE_INT, 0, NO_EXTRA" ], # GL_EXT_gpu_shader4 / GLSL 1.30 - [ "MIN_PROGRAM_TEXEL_OFFSET", "CONTEXT_INT(Const.MinProgramTexelOffset), extra_GLSL_130_es3" ], - [ "MAX_PROGRAM_TEXEL_OFFSET", "CONTEXT_INT(Const.MaxProgramTexelOffset), extra_GLSL_130_es3" ], + [ "MIN_PROGRAM_TEXEL_OFFSET", "CONTEXT_INT(Const.MinProgramTexelOffset), extra_GLSL_130_es3_gpushader4" ], + [ "MAX_PROGRAM_TEXEL_OFFSET", "CONTEXT_INT(Const.MaxProgramTexelOffset), extra_GLSL_130_es3_gpushader4" ], # GL_EXT_pixel_buffer_object [ "PIXEL_PACK_BUFFER_BINDING_EXT", "LOC_CUSTOM, TYPE_INT, 0, extra_EXT_pixel_buffer_object" ],