Mesa (main): radv: Increase maxFragmentCombinedOutputResources.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 28 16:34:45 UTC 2021


Module: Mesa
Branch: main
Commit: 554e1c2000746c64a25920f2c4db9d814e11f52a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=554e1c2000746c64a25920f2c4db9d814e11f52a

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Mon Dec 27 14:36:27 2021 +0100

radv: Increase maxFragmentCombinedOutputResources.

This also includes storage images and storage buffers, not just color
attachments.

Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14311>

---

 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 8994d3cf700..099337bcc2d 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1774,7 +1774,7 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .maxFragmentInputComponents = 128,
       .maxFragmentOutputAttachments = 8,
       .maxFragmentDualSrcAttachments = 1,
-      .maxFragmentCombinedOutputResources = 8,
+      .maxFragmentCombinedOutputResources = max_descriptor_set_size,
       .maxComputeSharedMemorySize = pdevice->rad_info.chip_class >= GFX7 ? 65536 : 32768,
       .maxComputeWorkGroupCount = {65535, 65535, 65535},
       .maxComputeWorkGroupInvocations = 1024,



More information about the mesa-commit mailing list