mesa: Add Mesa ARB_get_program_binary helper functions
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 4 Nov 2017 23:52:14 +0000 (16:52 -0700)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Dec 2017 05:59:25 +0000 (16:59 +1100)
commitc20fd744fef1ffb938f74dbafbe375c863fecc65
tree062bbbeeee93738a7bd51821a7dc3dbdc8b78534
parent90d4abdd872b62943b33d62c9368fe7855b1c4fc
mesa: Add Mesa ARB_get_program_binary helper functions

V2 (Timothy Arceri):
 - add extra code comment
 - stop passing around void *binary and just pass
   program_binary_header *hdr instead.
 - move to src/mesa/main rather than src/util

V3 (Timothy Arceri):
 - Move more code out of the backend and into the common
   helpers.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/Makefile.sources
src/mesa/main/program_binary.c [new file with mode: 0644]
src/mesa/main/program_binary.h [new file with mode: 0644]
src/mesa/meson.build