From 3dfa6a881ca68f8c28c9e2240090d3badcce8c49 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 18 Jan 2016 13:05:02 -0800 Subject: [PATCH] anv/meta: Initialize a handle to null --- src/vulkan/anv_meta_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_meta_clear.c b/src/vulkan/anv_meta_clear.c index 34087804075..a033f92773e 100644 --- a/src/vulkan/anv_meta_clear.c +++ b/src/vulkan/anv_meta_clear.c @@ -133,7 +133,7 @@ create_pipeline(struct anv_device *device, struct anv_shader_module vs_m = { .nir = vs_nir }; struct anv_shader_module fs_m = { .nir = fs_nir }; - VkPipeline pipeline_h; + VkPipeline pipeline_h = VK_NULL_HANDLE; result = anv_graphics_pipeline_create(device_h, VK_NULL_HANDLE, &(VkGraphicsPipelineCreateInfo) { -- 2.30.2