mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 09:20:23 +01:00
radv: fix resetting descriptor pool since the new descriptor sets allocator
RADV uses low VAs.
This fixes rendering issues and eventually GPU hangs with Detroit.
Fixes: 849d41dbf8 ("radv: implement a new descriptor sets allocator")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38650>
This commit is contained in:
parent
54077d9893
commit
9cca79d8f8
1 changed files with 1 additions and 0 deletions
|
|
@ -239,6 +239,7 @@ radv_ResetDescriptorPool(VkDevice _device, VkDescriptorPool descriptorPool, VkDe
|
|||
if (!pool->host_memory_base && pool->size) {
|
||||
util_vma_heap_finish(&pool->bo_heap);
|
||||
util_vma_heap_init(&pool->bo_heap, RADV_POOL_HEAP_OFFSET, pool->size + RADV_POOL_HEAP_OFFSET);
|
||||
pool->bo_heap.alloc_high = false;
|
||||
}
|
||||
|
||||
pool->entry_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue