OSDN Git Service

nv30/draw: switch varying hookup logic to know about texcoords
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 24 May 2015 02:11:38 +0000 (22:11 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 3 Jun 2015 10:53:26 +0000 (11:53 +0100)
commit7087a507bfccf8e96889eb8f86a48268b7525d20
tree39e02a70bfc991cf32dcd3160e9d005579526f86
parent93650a80e9d9cee000c88a6e96be83c1e5788fc6
nv30/draw: switch varying hookup logic to know about texcoords

Commit 8acaf862dfe switched things over to use TEXCOORD instead of
GENERIC, but did not update the nv30 swtnl draw paths. This teaches the
draw logic about TEXCOORD.

Among other things, this fixes a crash in demos/arbocclude when using
swtnl. Curiously enough, the point-sprite piglit works without this.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 25be70462dbb7ee994e69ffccc3de94e4114e667)
src/gallium/drivers/nouveau/nv30/nv30_draw.c