From 1faf833949bd55a19b15b7bdb963dbb77aea47f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 7 Aug 2018 17:49:42 -0400 Subject: [PATCH] mesa: enable glGet for EXT_gpu_shader4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Timothy Arceri Reviewed-by: Ian Romanick Tested-by: Dieter Nützel Reviewed-by: Eric Anholt --- src/mapi/glapi/gen/EXT_gpu_shader4.xml | 4 ---- src/mesa/main/get.c | 3 ++- src/mesa/main/get_hash_params.py | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) 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" ], -- 2.30.2