diff options
author | Samuel Pitoiset <[email protected]> | 2018-05-16 17:32:57 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-05-22 15:53:18 +0200 |
commit | 14a7547c0865b93b210df6a8f47cc793be6689b8 (patch) | |
tree | 8aebf21f7d067825c76ea42d07e72a3c3805340f /src/amd/vulkan | |
parent | 0d1406ad12c7d47fe8deccd58ecb1727754b1891 (diff) |
radv: allocate descriptor BOs in the 32-bit addr space
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_descriptor_set.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index 9d783b8b6d8..27dd5b08e20 100644 --- a/src/amd/vulkan/radv_descriptor_set.c +++ b/src/amd/vulkan/radv_descriptor_set.c @@ -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; |