main: Support getting GL_PROGRAM_BINARY_LENGTH
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 4 Nov 2017 23:43:21 +0000 (16:43 -0700)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Dec 2017 05:59:25 +0000 (16:59 +1100)
commite30ed18215c2b59b2b4de355b96fe553b5a8ce17
treea0608f120d985aeb6bcd626f0b278fd538e586ab
parentc20fd744fef1ffb938f74dbafbe375c863fecc65
main: Support getting GL_PROGRAM_BINARY_LENGTH

V2: call generic _mesa_get_program_binary_length() helper
    rather than driver function directly to allow greater
    code sharing.

Signed-off-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> (v1)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>i (v1)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/shaderapi.c