Mesa (master): radv: set sparseAddressSpaceSize to RADV_MAX_MEMORY_ALLOCATION_SIZE
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 8 11:15:56 UTC 2020
Module: Mesa
Branch: master
Commit: 8b42d26132d49e96fadadb097d931fad8e18a094
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b42d26132d49e96fadadb097d931fad8e18a094
Author: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Date: Wed Apr 8 10:57:28 2020 +0200
radv: set sparseAddressSpaceSize to RADV_MAX_MEMORY_ALLOCATION_SIZE
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4487>
---
src/amd/vulkan/radv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index fb81d782a14..030fba00d11 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1339,7 +1339,7 @@ void radv_GetPhysicalDeviceProperties(
.maxMemoryAllocationCount = UINT32_MAX,
.maxSamplerAllocationCount = 64 * 1024,
.bufferImageGranularity = 64, /* A cache line */
- .sparseAddressSpaceSize = 0xffffffffu, /* buffer max size */
+ .sparseAddressSpaceSize = RADV_MAX_MEMORY_ALLOCATION_SIZE, /* buffer max size */
.maxBoundDescriptorSets = MAX_SETS,
.maxPerStageDescriptorSamplers = max_descriptor_set_size,
.maxPerStageDescriptorUniformBuffers = max_descriptor_set_size,
More information about the mesa-commit
mailing list