st/nine: Fix TEXM3x3 and implement TEXM3x3VSPEC
authorAxel Davy <axel.davy@ens.fr>
Sun, 28 Dec 2014 12:05:15 +0000 (13:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Jan 2015 22:16:22 +0000 (22:16 +0000)
commit7865210670a735f268044b0c388a4895bed1ea4c
treef76ca16dfb5accc6aa56d12c50f8294d418ed0b3
parentb1259544e365c67ab60f0c67b7e6de6537cca793
st/nine: Fix TEXM3x3 and implement TEXM3x3VSPEC

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.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/nine_shader.c