mesa/marshal: extract ClearBuffer helpers
authorGrigori Goronzy <greg@chown.ath.cx>
Sun, 9 Jul 2017 00:30:46 +0000 (02:30 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Fri, 14 Jul 2017 19:20:08 +0000 (21:20 +0200)
commit8036198c0f2ac76309b8a5ed447e49da26a1795f
treead23b9339bb718a5593b9546cb8a3f274c96c2e6
parent98514e9959ae72d371590ca8301341404ce11c00
mesa/marshal: extract ClearBuffer helpers

Extract clear buffer helper functions in preparation for adding
marshal/unmarshal functions for the various glClearBuffer variants.

v2: Fix command size.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/marshal.c
src/mesa/main/marshal.h