panvk: Fixed maxFragmentCombinedOutputResources
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Tue, 28 Dec 2021 19:10:51 +0000 (20:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Jan 2022 19:28:17 +0000 (19:28 +0000)
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14320>

src/panfrost/vulkan/panvk_device.c

index b5eadfc..6941bdf 100644 (file)
@@ -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,