mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 21:40:20 +01:00
mesa: Bump MAX_IMAGE_UNIFORMS to 32.
So the i965 driver can expose 32 image uniforms per shader stage. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
818585b9f9
commit
fcc2fd53df
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
/*@}*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue