radv: don't return VK_SUCCESS if radv_device_get_cache_uuid() fails
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 24 Nov 2016 20:30:45 +0000 (20:30 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Nov 2016 19:51:31 +0000 (19:51 +0000)
commit7c277eae986ae230b36fc09fd2346f10ea8589e4
treead7f681d7fe968d01d7a0c928e1c910be488aba6
parent78707a15f205f9c2f45dc43ccbb99eb43029dc78
radv: don't return VK_SUCCESS if radv_device_get_cache_uuid() fails

If radv_device_get_cache_uuid() fails result will be VK_SUCCESS as set
by the radv_init_wsi() call above.

Fixes: d943839 (radv: Use library mtime for cache UUID.)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c