Module: Mesa Branch: master Commit: 14a7547c0865b93b210df6a8f47cc793be6689b8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14a7547c0865b93b210df6a8f47cc793be6689b8
Author: Samuel Pitoiset <[email protected]> Date: Wed May 16 17:32:57 2018 +0200 radv: allocate descriptor BOs in the 32-bit addr space Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> --- src/amd/vulkan/radv_descriptor_set.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index 9d783b8b6d..27dd5b08e2 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
