[Mesa-stable] [PATCH] radv: Reduce number of max descriptor sets to 4.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Fri Mar 17 08:42:50 UTC 2017


We never supported more, as we can run out of user SGPRs on the VS.

Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
CC: <mesa-stable at lists.freedesktop.org>
CC: James Legg <jlegg at feralinteractive.com>
---
 src/amd/vulkan/radv_descriptor_set.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_descriptor_set.h b/src/amd/vulkan/radv_descriptor_set.h
index c373489ccb3..d512fbdd51a 100644
--- a/src/amd/vulkan/radv_descriptor_set.h
+++ b/src/amd/vulkan/radv_descriptor_set.h
@@ -26,7 +26,7 @@
 
 #include <vulkan/vulkan.h>
 
-#define MAX_SETS         8
+#define MAX_SETS         4
 
 struct radv_descriptor_set_binding_layout {
    VkDescriptorType type;
-- 
2.12.0



More information about the mesa-stable mailing list