glthread: don't generate the sync fallback if the call size is not variable
authorMarek Olšák <marek.olsak@amd.com>
Wed, 19 Feb 2020 03:57:28 +0000 (22:57 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:13 +0000 (01:06 +0000)
commitd93f4faefb0a867ea33b9530e9aa67ae1ed60e93
treefb31d9498521aa02c1fe240bf0eac0381a7c24a1
parenta19c9290f44e6e73a104067a98420c273d98721b
glthread: don't generate the sync fallback if the call size is not variable

marshal_generated.c is 12% smaller.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
src/mapi/glapi/gen/gl_marshal.py