mesa: Bump MAX_IMAGE_UNIFORMS to 32.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 9 Feb 2015 16:31:03 +0000 (18:31 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Feb 2015 13:37:56 +0000 (15:37 +0200)
So the i965 driver can expose 32 image uniforms per shader stage.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/config.h

index 4ec4b7502fc1ac70b9e83161f65d38db5d3dd2b2..08e1a14625c87358384379d87bf541af2b1c08c8 100644 (file)
 #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)
 /*@}*/