mesa/formatquery: Added CLEAR_BUFFER <pname> query
authorAntia Puentes <apuentes@igalia.com>
Sat, 19 Dec 2015 19:27:16 +0000 (20:27 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:07 +0000 (15:14 +0100)
commit2066c7be61c2edc07c79ea690ee1aef92665b5ec
tree40be4b7c001dd9e215eaac3079c6789aee4899a3
parentaed633bb97443749f250951553287cde021a1aaa
mesa/formatquery: Added CLEAR_BUFFER <pname> query

From the ARB_internalformat_query2 specification:

   "- CLEAR_BUFFER: The support for using the resource with ClearBuffer*Data
      commands is returned in <params>.
      Possible values returned are FULL_SUPPORT, CAVEAT_SUPPORT, or NONE.
      If the resource or operation is not supported, NONE is returned."

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/formatquery.c