diff options
author | Juan A. Suarez Romero <[email protected]> | 2017-04-11 13:15:31 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2017-04-11 17:21:57 +0200 |
commit | 8d7a82ae321e6316a7ab521a24f9cf569b9bd0c3 (patch) | |
tree | 02bdc0037cfb61db42e25988de6e876d63a59464 /src | |
parent | 4ee7c2c2843cc82d17da18d95b3ded4db1dc54e4 (diff) |
anv: remove needless VALGRIND_MAKE_MEM_DEFINED
This is already invoked in the following VG_NOACCESS_READ() call.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_allocator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index 78327df3439..784191ed97a 100644 --- a/src/intel/vulkan/anv_allocator.c +++ b/src/intel/vulkan/anv_allocator.c @@ -758,7 +758,6 @@ anv_state_stream_finish(struct anv_state_stream *stream) struct anv_state_stream_block *next = stream->block; while (next != NULL) { - VG(VALGRIND_MAKE_MEM_DEFINED(next, sizeof(*next))); struct anv_state_stream_block sb = VG_NOACCESS_READ(next); VG(VALGRIND_MEMPOOL_FREE(stream, sb._vg_ptr)); VG(VALGRIND_MAKE_MEM_UNDEFINED(next, block_size)); |