From 28804fb9e4fe8b0437569505cfa8df8218395482 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 18 May 2015 12:05:17 -0700 Subject: [PATCH] vk/gem: VG_CLEAR the padding for the gem_mmap struct --- src/vulkan/gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/gem.c b/src/vulkan/gem.c index dd70f7c1cf7..8598deedc71 100644 --- a/src/vulkan/gem.c +++ b/src/vulkan/gem.c @@ -98,6 +98,7 @@ anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, int ret; gem_mmap.handle = gem_handle; + VG_CLEAR(gem_mmap.pad); gem_mmap.offset = offset; gem_mmap.size = size; VG_CLEAR(gem_mmap.addr_ptr); -- 2.30.2