On Tue, Dec 13, 2011 at 11:22 PM, Jose Fonseca <jfons...@vmware.com> wrote: > Another approach would be just to add the property, and kill output mask. Two > ways of doing the same is what I'd like to avoid. I'll need a day (it's late > here) to think about this and see how output mask is being actually used in > the code.
I think it would be better to axe the UsageMask (unless there's a need to declare an output with the mask _Y_W for example) and add a NumComponents field. The interpolation of varyings would be less computionally-expensive if we knew the exact number of used components and the number were less than 4 (depends on hw). Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev