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

Eric Anholt eric at anholt.net
Thu Nov 14 13:19:38 PST 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131114/0cc05657/attachment.pgp>


More information about the mesa-dev mailing list