mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 16:00:09 +01:00
anv: Fix build without VALGRIND
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
5bbf060ece
commit
de65d4dcaf
1 changed files with 1 additions and 1 deletions
|
|
@ -740,7 +740,7 @@ anv_state_stream_alloc(struct anv_state_stream *stream,
|
|||
uint32_t block = anv_block_pool_alloc(stream->block_pool);
|
||||
sb = stream->block_pool->map + block;
|
||||
|
||||
VALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb));
|
||||
VG(VALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb)));
|
||||
sb->next = stream->block;
|
||||
sb->offset = block;
|
||||
VG(sb->_vg_ptr = NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue