i965: Add brw_(read|write)_blob_program_data functions
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 28 Feb 2018 23:55:47 +0000 (15:55 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Jul 2018 06:02:32 +0000 (23:02 -0700)
commitb9f9b35431c7cf890fddd9dd7fdaeaf19f3ef8e6
treee233ad2481a42c2d113e98bd85c480d59b14e287
parent1777c23abf126e0503718e70a8d899c9b8028072
i965: Add brw_(read|write)_blob_program_data functions

We will want to use these for both the disk shader cache, and for the
ARB_get_program_binary.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/i965/brw_disk_cache.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_program_binary.c