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

Kenneth Graunke kenneth at whitecape.org
Thu Nov 14 14:06:18 PST 2013


On 11/14/2013 01:19 PM, Eric Anholt wrote:
> Petri Latvala <petri.latvala at intel.com> 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 bigger, let's send the
> param_count from brw_wm.c and brw_vs.c down into the backend and
> dynamically allocate these arrays.

I agree with Eric.

--Ken


More information about the mesa-dev mailing list