From cfdc955fd5e1e965c458e50f4dc877653a463684 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 8 Jan 2016 16:44:54 -0800 Subject: [PATCH] anv/reloc_list: Make valgrind explicitly check relocation data --- src/vulkan/anv_batch_chain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/anv_batch_chain.c b/src/vulkan/anv_batch_chain.c index 41bae981397..466a3624234 100644 --- a/src/vulkan/anv_batch_chain.c +++ b/src/vulkan/anv_batch_chain.c @@ -160,6 +160,7 @@ anv_reloc_list_add(struct anv_reloc_list *list, entry->presumed_offset = target_bo->offset; entry->read_domains = 0; entry->write_domain = 0; + VG(VALGRIND_CHECK_MEM_IS_DEFINED(entry, sizeof(*entry))); return target_bo->offset + delta; } -- 2.30.2