From fcc2fd53df2d57a335856ebd7e01878d7a0d4de2 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 9 Feb 2015 18:31:03 +0200 Subject: [PATCH] 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(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 4ec4b75..08e1a14 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) /*@}*/ -- 2.7.4