Mesa (main): panvk: Fixed maxFragmentCombinedOutputResources

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 10 19:56:43 UTC 2022


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

Author: Konstantin Seurer <konstantin.seurer at gmail.com>
Date:   Tue Dec 28 20:10:51 2021 +0100

panvk: Fixed maxFragmentCombinedOutputResources

Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14320>

---

 src/panfrost/vulkan/panvk_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/vulkan/panvk_device.c b/src/panfrost/vulkan/panvk_device.c
index b5eadfcf23c..6941bdfa0d3 100644
--- a/src/panfrost/vulkan/panvk_device.c
+++ b/src/panfrost/vulkan/panvk_device.c
@@ -773,7 +773,7 @@ panvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
       .maxFragmentInputComponents = 128,
       .maxFragmentOutputAttachments = 8,
       .maxFragmentDualSrcAttachments = 1,
-      .maxFragmentCombinedOutputResources = 8,
+      .maxFragmentCombinedOutputResources = MAX_RTS + max_descriptor_set_size * 2,
       .maxComputeSharedMemorySize = 32768,
       .maxComputeWorkGroupCount = { 65535, 65535, 65535 },
       .maxComputeWorkGroupInvocations = 2048,



More information about the mesa-commit mailing list