mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
anv/allocator: Use list->u64 in free_list_push
Since we always modify this structure with atomics on the u64, it seems better to use the u64 here too. I have no idea if this fixes a bug. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11857>
This commit is contained in:
parent
f5946354d3
commit
2fd989a298
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ anv_free_list_push(union anv_free_list *list,
|
|||
for (uint32_t i = 1; i < count; i++, last++)
|
||||
table->map[last].next = last + 1;
|
||||
|
||||
old = *list;
|
||||
old.u64 = list->u64;
|
||||
do {
|
||||
current = old;
|
||||
table->map[last].next = current.offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue