From: Francisco Jerez Date: Mon, 9 Feb 2015 16:31:03 +0000 (+0200) Subject: mesa: Bump MAX_IMAGE_UNIFORMS to 32. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcc2fd53df2d57a335856ebd7e01878d7a0d4de2;p=mesa.git mesa: Bump MAX_IMAGE_UNIFORMS to 32. So the i965 driver can expose 32 image uniforms per shader stage. Reviewed-by: Kenneth Graunke --- 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) /*@}*/