From: Bas Nieuwenhuizen Date: Thu, 2 Jan 2020 11:29:29 +0000 (+0100) Subject: turnip: Use VK_NULL_HANDLE instead of NULL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b72182fcfa624b2cd7e19dd6c8e5ae60b2679dde;p=mesa.git turnip: Use VK_NULL_HANDLE instead of NULL. Only occurrence of implicitly converting pointer->int. Reviewed-by: Eric Engestrom Reviewed-by: Dylan Baker Reviewed-by: Kristian H. Kristensen Part-of: --- diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 799b0b2a3de..e5066672177 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -1980,7 +1980,7 @@ tu_graphics_pipeline_create(VkDevice device, if (result == VK_SUCCESS) *pPipeline = tu_pipeline_to_handle(pipeline); else - *pPipeline = NULL; + *pPipeline = VK_NULL_HANDLE; return result; }