asahi: disable disk cache in debug runs
authorRose Hudson <rose@krx.sh>
Tue, 7 Mar 2023 20:15:07 +0000 (20:15 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Mar 2023 02:07:44 +0000 (02:07 +0000)
commite54ec96f35c0d76a52841aee0a766e0e9a7d3ce7
tree70e7ab6a51545629db317c0e5c7fc6f1ca07756f
parent5e9538c12e0f564af888e2d2c1804e960b9492ca
asahi: disable disk cache in debug runs

With debug flags enabled, shaders might get compiled differently and
running compilation might be desired e.g. for logging, so don't try to
cache them.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21776>
src/gallium/drivers/asahi/agx_disk_cache.c