summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2022-12-21 01:55:46 -0500
committerMarek Olšák <marek.olsak@amd.com>2023-01-20 21:34:09 -0500
commit98a0e8c908006c3663dff53627a6772e6ee1c4c3 (patch)
treef2cb5803a9dcb3945af832dae604424fb1a2dca4 /src/mapi
parente9abed5315ddad151bcb57e7133c9e55e31aaa7e (diff)
downloadmesa-98a0e8c908006c3663dff53627a6772e6ee1c4c3.tar.gz
glthread: make marshal functions for glBegin/End attribs non-static
for a future commit Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/marshal_XML.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py
index e049f25b1bf..bd8fa36c087 100644
--- a/src/mapi/glapi/gen/marshal_XML.py
+++ b/src/mapi/glapi/gen/marshal_XML.py
@@ -88,4 +88,6 @@ class marshal_function(gl_XML.gl_function):
return 'async'
def marshal_is_static(self):
- return self.marshal_flavor() != 'custom' and self.name[0:8] != 'Internal'
+ return (self.marshal_flavor() != 'custom' and
+ self.name[0:8] != 'Internal' and
+ self.exec_flavor != 'beginend')