diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-03 13:58:25 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsalvez <[email protected]> | 2015-09-25 08:39:20 +0200 |
commit | 4cf908f9cbaac5563dd3ff355399e2b56addbca4 (patch) | |
tree | f6ec86a84104804aef4c2f3f468d7b21f02e30d9 /src/mesa/main/config.h | |
parent | 4639cea2921669527eb43dcb49724c05afb27e8e (diff) |
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 <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r-- | src/mesa/main/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |