Mesa (main): v3dv: increase number of supported SSBOs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 4 08:57:26 UTC 2021


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

Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Wed Jun  2 14:29:32 2021 +0200

v3dv: increase number of supported SSBOs

Some CTS tests use more than what we expose and other drivers
also seem to be exposing many more than us (in the order of thousands).
I don't think we want to expose a very large number since we use this
limit to size some arrays in the driver, but bumping it a bit over the
minimum of 4 required by the spec might be reasonable.

Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11159>

---

 src/broadcom/vulkan/v3dv_limits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/broadcom/vulkan/v3dv_limits.h b/src/broadcom/vulkan/v3dv_limits.h
index 8f3c5d3f71d..0e722a18ff0 100644
--- a/src/broadcom/vulkan/v3dv_limits.h
+++ b/src/broadcom/vulkan/v3dv_limits.h
@@ -44,7 +44,7 @@
 #define MAX_INPUT_ATTACHMENTS 4
 
 #define MAX_UNIFORM_BUFFERS 12
-#define MAX_STORAGE_BUFFERS 4
+#define MAX_STORAGE_BUFFERS 8
 
 #define MAX_DYNAMIC_UNIFORM_BUFFERS 8
 #define MAX_DYNAMIC_STORAGE_BUFFERS 4



More information about the mesa-commit mailing list