The fix is that this line: "src[s] = tx->regs.vT[s];" is wrong if s doesn't start from 0. Instead access tx->regs.vT directly when needed.
7865210 st/nine: Fix TEXM3x3 and implement TEXM3x3VSPEC
src/gallium/state_trackers/nine/nine_shader.c | 53 +++++++++++++++++--------
1 file changed, 36 insertions(+), 17 deletions(-)
Upstream: cgit.freedesktop.org