mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
vk/allocator: Make the use of NULL_BLOCK in state_stream_finish explicit
This commit is contained in:
parent
52637c0996
commit
920fb771d4
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ anv_state_stream_finish(struct anv_state_stream *stream)
|
|||
uint32_t block, next_block;
|
||||
|
||||
block = stream->current_block;
|
||||
while (block != 1) {
|
||||
while (block != NULL_BLOCK) {
|
||||
sb = stream->block_pool->map + block;
|
||||
next_block = VG_NOACCESS_READ(&sb->next);
|
||||
VG(VALGRIND_FREELIKE_BLOCK(VG_NOACCESS_READ(&sb->_vg_ptr), 0));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue