Re: [Mesa-dev] [PATCH 1/2] Increase array sizes to what they should be.

2013-11-14 Thread Kenneth Graunke
On 11/14/2013 01:19 PM, Eric Anholt wrote: > Petri Latvala writes: > >> vec4_visitor's uniform_size and uniform_vector_size arrays contain >> information about uniforms. Their size should be the number of uniform >> components (MAX_UNIFORMS * 4) instead of number of uniform vec4s >> (MAX_UNIFORMS

Re: [Mesa-dev] [PATCH 1/2] Increase array sizes to what they should be.

2013-11-14 Thread Eric Anholt
Petri Latvala writes: > vec4_visitor's uniform_size and uniform_vector_size arrays contain > information about uniforms. Their size should be the number of uniform > components (MAX_UNIFORMS * 4) instead of number of uniform vec4s > (MAX_UNIFORMS). Instead of making our giant static arrays even

[Mesa-dev] [PATCH 1/2] Increase array sizes to what they should be.

2013-11-08 Thread Petri Latvala
vec4_visitor's uniform_size and uniform_vector_size arrays contain information about uniforms. Their size should be the number of uniform components (MAX_UNIFORMS * 4) instead of number of uniform vec4s (MAX_UNIFORMS). Signed-off-by: Petri Latvala --- src/mesa/drivers/dri/i965/brw_vec4.h | 4 ++-