i965/vs: Fix matNxM vertex attributes where M != 4.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Jul 2015 03:13:00 +0000 (20:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Jul 2015 23:44:22 +0000 (16:44 -0700)
commit73d0e7f3451eaeb62ac039d2dcee1e1c6787e3db
tree299eacb2b966d8fc4267d8e88b064818c2d571f1
parent6611f65047575054a38ce83ebfe0331e39e1774f
i965/vs: Fix matNxM vertex attributes where M != 4.

Matrix vertex attributes have their columns padded out to vec4s, which
I was failing to account for.  Scalar NIR expects them to be packed,
however.

Fixes 1256 dEQP tests on Broadwell.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp