radeonsi: add nir shader cache support
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 15 Feb 2018 23:14:05 +0000 (10:14 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 20 Feb 2018 02:15:02 +0000 (13:15 +1100)
commit691c320de066ba71c61ad97a1a8b39687238d6ef
tree625d851519d7e10b5e7e6719fd8bd224d709e376
parent2b431808abf5599a862d1a9150f7b8fa705db036
radeonsi: add nir shader cache support

In future we might want to try avoid calling nir_serialize() but
this works for now.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c