46a8d5e7ef
In !25925 I attempted to fix an error spam caused by the disk cache not creating parent directories of the cache directory when needed, resulting in failure to create the disk cache. Presumably that is bad for performance. Unfortunately I did a really bad job and only fixed the edge case where the cache dir is given by $MESA_SHADER_CACHE_DIR rather than the general case. Here I attempt to be more comprehensive. Fixes #8294 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30160>