From 467f9982dfc1118ac0c47b95320c94793ba37aa5 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Mon, 14 Oct 2019 11:25:11 -0400 Subject: [PATCH] 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 --- src/freedreno/vulkan/tu_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2