nvfx: simplify and correct fragment program update logic
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 22 Aug 2010 10:02:41 +0000 (12:02 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sun, 22 Aug 2010 13:42:17 +0000 (15:42 +0200)
commit7de1f86c49716eeadb443507d16ead933288059c
treeb9d55e24616fa7b149b07bf0079ca2dae6fabd14
parent9fefab340f59519efc5c5690347a54e437d9407a
nvfx: simplify and correct fragment program update logic

This version should hopefully be much clearer and thus less likely
to be subtly broken.

Also fixes point sprites on nv40 and possibly some other bugs too.
src/gallium/drivers/nvfx/nvfx_context.c
src/gallium/drivers/nvfx/nvfx_context.h
src/gallium/drivers/nvfx/nvfx_fragprog.c
src/gallium/drivers/nvfx/nvfx_state.h
src/gallium/drivers/nvfx/nvfx_state_emit.c
src/gallium/drivers/nvfx/nvfx_vertprog.c