glapi: should not add alias function to static_data.py
authorQiang Yu <yuq825@gmail.com>
Sat, 4 Dec 2021 02:46:53 +0000 (10:46 +0800)
committerQiang Yu <yuq825@gmail.com>
Thu, 30 Dec 2021 08:11:19 +0000 (16:11 +0800)
Alias function should not be assigned an offset, otherwise new added
function will get error:

  Exception: entries are not ordered by slots

Fixes: 757bc6d37a6 ("mesa: Add support for EXT_clear_texture")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14223>

src/mapi/glapi/gen/static_data.py

index 711624c..6accff1 100644 (file)
@@ -1689,8 +1689,6 @@ offsets = {
     "VertexAttribs2hvNV": 1653,
     "VertexAttribs3hvNV": 1654,
     "VertexAttribs4hvNV": 1655,
-    "ClearTexImageEXT": 1656,
-    "ClearTexSubImageEXT": 1657,
 }
 
 functions = [