From 566ed727a4a56d0b6e2f638734f501beea0bd0c0 Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Thu, 21 Dec 2017 19:00:29 -0500 Subject: mesa: fix glGet for ext_external_objects parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows the client to actually query the enums specified in the ext_external_objects spec. Signed-off-by: Andres Rodriguez Reviewed-by: Marek Olšák --- src/mesa/main/get_hash_params.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa/main/get_hash_params.py') diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 0edf4c61c8c..7cd195c7038 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -138,6 +138,11 @@ descriptor=[ # GL_ARB_polygon_offset_clamp / GL_EXT_polygon_offset_clamp [ "POLYGON_OFFSET_CLAMP_EXT", "CONTEXT_FLOAT(Polygon.OffsetClamp), extra_ARB_polygon_offset_clamp" ], + +# GL_EXT_external_objects + [ "NUM_DEVICE_UUIDS_EXT", "LOC_CUSTOM, TYPE_INT, NO_OFFSET, NO_EXTRA" ], + [ "DRIVER_UUID_EXT", "LOC_CUSTOM, TYPE_INT_4, NO_OFFSET, NO_EXTRA" ], + [ "DEVICE_UUID_EXT", "LOC_CUSTOM, TYPE_INT_4, NO_OFFSET, NO_EXTRA" ], ]}, # Enums in OpenGL and GLES1 -- cgit v1.2.3