From: Jason Ekstrand Date: Sat, 9 Jan 2016 00:44:54 +0000 (-0800) Subject: anv/reloc_list: Make valgrind explicitly check relocation data X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfdc955fd5e1e965c458e50f4dc877653a463684;p=mesa.git anv/reloc_list: Make valgrind explicitly check relocation data --- 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; }