From: Jason Ekstrand Date: Mon, 18 Jan 2016 21:05:02 +0000 (-0800) Subject: anv/meta: Initialize a handle to null X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3dfa6a881ca68f8c28c9e2240090d3badcce8c49;p=mesa.git anv/meta: Initialize a handle to null --- 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) {