i965: Add brw_program_deserialize_driver_blob
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 28 Feb 2018 22:41:02 +0000 (14:41 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Jul 2018 06:02:32 +0000 (23:02 -0700)
commit1777c23abf126e0503718e70a8d899c9b8028072
treed7cb06990c081264ba0119ec3a7d0772094f439a
parentf4c154afc19a6bf71a1c9b088384b2f293b09095
i965: Add brw_program_deserialize_driver_blob

brw_program_deserialize_driver_blob will be a more generic form of
brw_program_deserialize_nir. In addition to nir, it will also be able
to extract gen binaries and upload them to the program cache.

In this commit, it continues to only support nir.

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