From cd64a4f705ef7e1fc552ef907b9c61ea13593ef4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 10 Nov 2017 09:17:58 +0100 Subject: radv: use vk_error() everywhere an error is returned For consistency and it might help for debugging purposes. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_pipeline_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/vulkan/radv_pipeline_cache.c') diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index 2904b62e6b6..a6508ae1b27 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -206,7 +206,7 @@ radv_pipeline_cache_grow(struct radv_pipeline_cache *cache) table = malloc(byte_size); if (table == NULL) - return VK_ERROR_OUT_OF_HOST_MEMORY; + return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); cache->hash_table = table; cache->table_size = table_size; -- cgit v1.2.3