mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
vk/allocator: Remove an unneeded VG() wrapper
This commit is contained in:
parent
7f90e56e42
commit
8d930da35d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue