[Mesa-dev] [PATCH] mesa/shader: return correct attribute location for double matrix arrays

Dave Airlie airlied at gmail.com
Thu Dec 10 22:29:32 PST 2015

On 10 December 2015 at 14:42, Timothy Arceri
<timothy.arceri at collabora.com> wrote:
> On Thu, 2015-12-10 at 13:41 +1000, Dave Airlie wrote:
>> From: Dave Airlie <airlied at redhat.com>
>> If we have a dmat2[4], then dmat2[0] is at 17, dmat2[1] at 19,
>> dmat2[2] at 21 etc. The old code was returning 17,18,19.
>> I think this code is also wrong for float matricies as well.
> Would be good to have a piglit for the float case.

I sent a patch to an existing piglit test to add support for testing
matrices, since it really should have been testing them already.


More information about the mesa-dev mailing list