Matt Turner <[email protected]> writes:

> On Fri, Mar 20, 2015 at 7:11 AM, Francisco Jerez <[email protected]> 
> wrote:
>> This seemed to be trying to deduce the number of uniform vector
>> components from the parameter swizzle, but the algorithm would always
>> give 4 as result.  Instead grab the correct number of components from
>> the GLSL type.
>> ---
>
> Functionally, what does this affect? Are we now packing uniforms more
> efficiently or something?

Yeah, mostly for fixed function stuff.  It should prevent some built-in
uniforms from taking up a full vec4 of constants even though they only
need less components.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to