Mesa (main): radv: increase maxComputeSharedMemorySize
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 10 13:12:16 UTC 2021
Module: Mesa
Branch: main
Commit: 6204e17b442ae9c0f97660844556d93ad5295d4e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6204e17b442ae9c0f97660844556d93ad5295d4e
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Wed Jun 9 12:47:39 2021 +0100
radv: increase maxComputeSharedMemorySize
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11262>
---
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 5efca6f061c..e7fea9b838d 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1697,7 +1697,7 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
.maxFragmentOutputAttachments = 8,
.maxFragmentDualSrcAttachments = 1,
.maxFragmentCombinedOutputResources = 8,
- .maxComputeSharedMemorySize = 32768,
+ .maxComputeSharedMemorySize = pdevice->rad_info.chip_class >= GFX7 ? 65536 : 32768,
.maxComputeWorkGroupCount = {65535, 65535, 65535},
.maxComputeWorkGroupInvocations = 1024,
.maxComputeWorkGroupSize = {1024, 1024, 1024},
More information about the mesa-commit
mailing list