nvfx: draw: make perspective corrective texturing work
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 22 Feb 2010 12:15:24 +0000 (13:15 +0100)
committerYounes Manton <younes.m@gmail.com>
Mon, 15 Mar 2010 04:03:04 +0000 (00:03 -0400)
commitac7ae8bc6ae0d364103d655482a522c12504816b
treec4e6ac6053c35b184484608038a6314173a384d1
parentad2d0c26393760ebc7af52de9f693654381431f3
nvfx: draw: make perspective corrective texturing work

We must divide everything in the position by w, and emit position as
a 4-component vector.

Not sure why we must divide, but it works (see progs/redbook/checker).
src/gallium/drivers/nvfx/nvfx_draw.c