util/disk_cache: finish all queue jobs in destroy instead of killing them
authorMarek Olšák <marek.olsak@amd.com>
Wed, 23 Oct 2019 20:15:37 +0000 (16:15 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 24 Oct 2019 00:22:50 +0000 (20:22 -0400)
commite096011def908b4ac08c8e7437ffaf8bd7f46819
tree4bd1e0984a11f067f7e74a8b09383ea56e1ba039
parent8dadef2ec54b23a1f34cb0e5f1ff7f60b5937e85
util/disk_cache: finish all queue jobs in destroy instead of killing them

If there are queued shaders to be written to disk, wait for that.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/disk_cache.c