radv: fix regression with builtin cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 29 May 2020 07:02:24 +0000 (17:02 +1000)
committerMarge Bot <eric+marge@anholt.net>
Sat, 30 May 2020 04:01:28 +0000 (04:01 +0000)
commite843303d6f18d56d7c412e6c879134f7b79372ac
tree0d2d19a9f3c7787ee00009a69c285388cf955737
parent7e4c8949c6f79090b7d8675b488c7bdc90477e26
radv: fix regression with builtin cache

If the ~/.cache dir already exists continue on without failing.

Fixes: cd61f5234d2c ("radv: Handle failing to create .cache dir.")
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5249>
src/amd/vulkan/radv_meta.c