OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1c4a0
)
anv/reloc_list: Make valgrind explicitly check relocation data
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 9 Jan 2016 00:44:54 +0000
(16:44 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 9 Jan 2016 00:44:54 +0000
(16:44 -0800)
src/vulkan/anv_batch_chain.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_batch_chain.c
b/src/vulkan/anv_batch_chain.c
index
41bae98
..
466a362
100644
(file)
--- 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;
}