glthread: replace custom ClearBuffer marshalling with generated one
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Feb 2020 00:54:00 +0000 (19:54 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:06:14 +0000 (01:06 +0000)
commit108fdb54c6c1b82ec3131b0c2e00d554b3729cfb
tree9d7f2174cd92f9d86d7806dd6fa5b3ec41bd851b
parent88b5fb18b35e68edf2b187251df9a290f386d91c
glthread: replace custom ClearBuffer marshalling with generated one

If the count attribute contains "enum", the count is evaluated only once.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
src/mapi/glapi/gen/GL3x.xml
src/mesa/main/marshal.c
src/mesa/main/marshal.h