vk: Add two more valgrind checks

This commit is contained in:
Jason Ekstrand
2015-07-23 08:57:54 -07:00
parent b1fcc30ff0
commit e99773badd
2 changed files with 2 additions and 0 deletions

View File

@@ -192,6 +192,7 @@ anv_batch_emit_batch(struct anv_batch *batch, struct anv_batch *other)
assert(batch->next + size <= batch->end);
VG(VALGRIND_CHECK_MEM_IS_DEFINED(other->start, size));
memcpy(batch->next, other->start, size);
offset = batch->next - batch->start;