[Mesa-dev] [PATCH] mesa: Bump MAX_IMAGE_UNIFORMS to 32.
Kenneth Graunke
kenneth at whitecape.org
Mon Feb 9 13:13:12 PST 2015
On Monday, February 09, 2015 06:37:45 PM Francisco Jerez wrote:
> So the i965 driver can expose 32 image uniforms per shader stage.
> ---
> 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)
> /*@}*/
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150209/234a466d/attachment.sig>
More information about the mesa-dev
mailing list