radeonsi: use IR SHA1 as the cache key for the in-memory shader cache
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 Nov 2019 01:26:47 +0000 (21:26 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 6 Nov 2019 04:28:42 +0000 (23:28 -0500)
commit62229e89490efd3ce2208571c4c4ef7ae8741760
tree70d0021960163a58897cc7053f554bbd018edb81
parent65a5b24aeea34b370cd38083ccbbd38efcac1d4e
radeonsi: use IR SHA1 as the cache key for the in-memory shader cache

instead of using whole IR binaries. This saves some memory.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c