diff options
author | Francisco Jerez <[email protected]> | 2015-02-09 18:31:03 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 15:37:56 +0200 |
commit | fcc2fd53df2d57a335856ebd7e01878d7a0d4de2 (patch) | |
tree | 51fd1178ba956f56f80d072b7144441a5423fd4e /src/mesa/main/config.h | |
parent | 818585b9f9ccd55b992e35f4d74120f0e879559f (diff) |
mesa: Bump MAX_IMAGE_UNIFORMS to 32.
So the i965 driver can expose 32 image uniforms per shader stage.
Reviewed-by: Kenneth Graunke <[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 4ec4b7502fc..08e1a14625c 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -178,7 +178,7 @@ #define MAX_COMBINED_ATOMIC_BUFFERS (MAX_UNIFORM_BUFFERS * 6) /* Size of an atomic counter in bytes according to ARB_shader_atomic_counters */ #define ATOMIC_COUNTER_SIZE 4 -#define MAX_IMAGE_UNIFORMS 16 +#define MAX_IMAGE_UNIFORMS 32 /* 6 is for vertex, hull, domain, geometry, fragment, and compute shader. */ #define MAX_IMAGE_UNITS (MAX_IMAGE_UNIFORMS * 6) /*@}*/ |