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 <ba...@google.com>
CC: <mesa-sta...@lists.freedesktop.org>
CC: James Legg <jl...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to