nvfx: clean up shader header
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 21 Feb 2010 17:17:03 +0000 (18:17 +0100)
committerYounes Manton <younes.m@gmail.com>
Mon, 15 Mar 2010 04:03:05 +0000 (00:03 -0400)
commit49f2a89956203a99be37a6fb18a1fab79c5e5429
treea3ec9102ba4827edfe8a6760d3961117ec343e39
parenta174db480b9dbe3ae3475ce0cf4b3591234e8f05
nvfx: clean up shader header

Currently the behavior of shader.h depends on some constants that
are defined differently in vertex and fragment programs.

This patch cleans that up by splitting the relevant symbols in
vertex program and fragment program variants
src/gallium/drivers/nvfx/nvfx_draw.c
src/gallium/drivers/nvfx/nvfx_fragprog.c
src/gallium/drivers/nvfx/nvfx_shader.h
src/gallium/drivers/nvfx/nvfx_vertprog.c