main: Support 1 Mesa format with get for GL_PROGRAM_BINARY_FORMATS
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 7 Nov 2017 08:21:33 +0000 (00:21 -0800)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Dec 2017 05:59:25 +0000 (16:59 +1100)
commit64ad804e596075c06f5a1f2bdc0d45b5d2f2ead2
tree710a6476e6a2b19ab5a44fcc730d92f734694eaf
parentfb077d603bcc46ad915e9863ebf53b75f4662f16
main: Support 1 Mesa format with get for GL_PROGRAM_BINARY_FORMATS

Mesa supports either 0 or 1 formats. If 1 format is supported, it is
GL_PROGRAM_BINARY_FORMAT_MESA as defined in the
GL_MESA_program_binary_formats extension spec.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py