From: Samuel Iglesias Gonsalvez Date: Thu, 3 Sep 2015 11:58:25 +0000 (+0200) Subject: mesa: set MAX_SHADER_STORAGE_BUFFERS to 16. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cf908f9cbaac5563dd3ff355399e2b56addbca4;p=mesa.git mesa: set MAX_SHADER_STORAGE_BUFFERS to 16. v2: - Set the value to 16 and drop the comment. (Kristian) Signed-off-by: Samuel Iglesias Gonsalvez Reviewed-by: Jordan Justen Reviewed-by: Kristian Høgsberg --- diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index b35031db3c9..f29de5f91fd 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -171,7 +171,7 @@ #define MAX_PROGRAM_LOCAL_PARAMS 4096 #define MAX_UNIFORMS 4096 #define MAX_UNIFORM_BUFFERS 15 /* + 1 default uniform buffer */ -#define MAX_SHADER_STORAGE_BUFFERS 7 /* + 1 default shader storage buffer */ +#define MAX_SHADER_STORAGE_BUFFERS 16 /* 6 is for vertex, hull, domain, geometry, fragment, and compute shader. */ #define MAX_COMBINED_UNIFORM_BUFFERS (MAX_UNIFORM_BUFFERS * 6) #define MAX_COMBINED_SHADER_STORAGE_BUFFERS (MAX_SHADER_STORAGE_BUFFERS * 6)