glthread: inline SET_func and add -O1 to build _mesa_create_marshal_table faster
authorMarek Olšák <marek.olsak@amd.com>
Mon, 23 Mar 2020 01:56:20 +0000 (21:56 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Mar 2020 20:28:30 +0000 (16:28 -0400)
commit03da51eb07552fdaa2431de63235dbcf7a616ad7
tree3a97596cf02f953494fa799de95b6665a94280e2
parent238e2ed2100d4d364fefa23bac058100704c0a44
glthread: inline SET_func and add -O1 to build _mesa_create_marshal_table faster

The compile time of marshal_generated.c improved from 30.1s to 12.4s.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4270>
src/mapi/glapi/gen/gl_marshal.py