From a9b51a4a3a6b1af2efd756e5b354b09975355bdd Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 2 Jun 2021 14:29:32 +0200 Subject: [PATCH] v3dv: increase number of supported SSBOs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: --- 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