main: add binary support to GetProgramBinary
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 4 Nov 2017 23:47:25 +0000 (16:47 -0700)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Dec 2017 05:59:25 +0000 (16:59 +1100)
commit7ee54ad057f05881d650443de13a6bf8099e7922
treef9c6bd45b2c556f49cacbe071f9dd607c8bc6962
parente30ed18215c2b59b2b4de355b96fe553b5a8ce17
main: add binary support to GetProgramBinary

V2: call generic _mesa_get_program_binary() 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> (v1)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/shaderapi.c