From: Jason Ekstrand Date: Thu, 4 Jun 2015 16:12:37 +0000 (-0700) Subject: vk/allocator: Remove an unneeded VG() wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d930da35df494f78e658cc8969a40a91286d6d6;p=mesa.git vk/allocator: Remove an unneeded VG() wrapper --- diff --git a/src/vulkan/allocator.c b/src/vulkan/allocator.c index 950b23c857a..027108695fd 100644 --- a/src/vulkan/allocator.c +++ b/src/vulkan/allocator.c @@ -626,7 +626,7 @@ anv_state_stream_alloc(struct anv_state_stream *stream, if (vg_ptr == NULL) { vg_ptr = state.map; VG_NOACCESS_WRITE(&sb->_vg_ptr, vg_ptr); - VG(VALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false)); + VALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false); } else { ptrdiff_t vg_offset = vg_ptr - current_map; assert(vg_offset >= stream->current_block &&