gl_marshal.py: remove the -O1 hack and manual SET_* inlining
authorMarek Olšák <marek.olsak@amd.com>
Thu, 11 Aug 2022 13:27:52 +0000 (09:27 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Oct 2022 04:23:05 +0000 (04:23 +0000)
commit146836f4ba659269e31f6ae865af9015faca5dff
tree6d14d49f70a0d29928f580cfb56f9d2eacc57eda
parent67c7260571b0b6dc8f6f6b4f659333275383e969
gl_marshal.py: remove the -O1 hack and manual SET_* inlining

The compile times aren't so bad anymore now that the initialization is
split among all 8 files.

Also add one assertion.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18199>
src/mapi/glapi/gen/gl_marshal.py