mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
radv: allocate descriptor BOs in the 32-bit addr space
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
0d1406ad12
commit
14a7547c08
1 changed files with 2 additions and 1 deletions
|
|
@ -594,7 +594,8 @@ VkResult radv_CreateDescriptorPool(
|
|||
pool->bo = device->ws->buffer_create(device->ws, bo_size, 32,
|
||||
RADEON_DOMAIN_VRAM,
|
||||
RADEON_FLAG_NO_INTERPROCESS_SHARING |
|
||||
RADEON_FLAG_READ_ONLY);
|
||||
RADEON_FLAG_READ_ONLY |
|
||||
RADEON_FLAG_32BIT);
|
||||
pool->mapped_ptr = (uint8_t*)device->ws->buffer_map(pool->bo);
|
||||
}
|
||||
pool->size = bo_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue