From: Jonathan Marek Date: Mon, 14 Oct 2019 15:25:11 +0000 (-0400) Subject: turnip: fix segmentation fault with compute pipeline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=467f9982dfc1118ac0c47b95320c94793ba37aa5;p=mesa.git turnip: fix segmentation fault with compute pipeline Not supported, so always set pointer to NULL Signed-off-by: Jonathan Marek Reviewed-by: Kristian H. Kristensen --- diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 29f394c82f0..241a009040c 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -1924,8 +1924,8 @@ tu_CreateComputePipelines(VkDevice _device, pAllocator, &pPipelines[i]); if (r != VK_SUCCESS) { result = r; - pPipelines[i] = VK_NULL_HANDLE; } + pPipelines[i] = VK_NULL_HANDLE; } return result;