From fcc2fd53df2d57a335856ebd7e01878d7a0d4de2 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 9 Feb 2015 18:31:03 +0200 Subject: mesa: Bump MAX_IMAGE_UNIFORMS to 32. So the i965 driver can expose 32 image uniforms per shader stage. Reviewed-by: Kenneth Graunke --- src/mesa/main/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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) /*@}*/ -- cgit v1.2.3