Mesa (main): anv: Increase maxBoundDescriptorSets to 32
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Feb 10 22:36:08 UTC 2022
Module: Mesa
Branch: main
Commit: 577d131bcf8988343d6b247dcbe45ce506e52022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=577d131bcf8988343d6b247dcbe45ce506e52022
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Feb 8 09:37:26 2022 -0800
anv: Increase maxBoundDescriptorSets to 32
We recently had a request to support a larger maxBoundDescriptorSets,
specifically 32, and there doesn't appear to be a reason we need to
restrict this to 8. According to vulkan.gpuinfo.org reports, most
Vulkan drivers appear to support 32.
Acked-by: Caio Oliveira <caio.oliveira at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14952>
---
src/intel/vulkan/anv_private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b32238152bc..067758eda70 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -189,7 +189,7 @@ struct intel_perf_query_result;
#define MAX_VBS 28
#define MAX_XFB_BUFFERS 4
#define MAX_XFB_STREAMS 4
-#define MAX_SETS 8
+#define MAX_SETS 32
#define MAX_RTS 8
#define MAX_VIEWPORTS 16
#define MAX_SCISSORS 16
More information about the mesa-commit
mailing list