nv30, nv40: partially unify nv[34]0_state.c
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 21 Feb 2010 11:39:21 +0000 (12:39 +0100)
committerYounes Manton <younes.m@gmail.com>
Mon, 15 Mar 2010 04:03:03 +0000 (00:03 -0400)
commitc65a8f3ed2ab1650df38a3ed32d1e91e84b50520
treefa29a67243fe269cd29e6e13c5241720346fbe30
parent6e1d0fc5eba8cda4f4c8f3188f53fec6d2d2e9c3
nv30, nv40: partially unify nv[34]0_state.c

state.c is identical except for:
1. Sampler state creation is different
2. nv40 swtnl support
3. Separate blend equations on nv40

This patch unifies nv[34]0_state.c, except the sampler state creation code.
src/gallium/drivers/nv30/nv30_context.c
src/gallium/drivers/nv30/nv30_context.h
src/gallium/drivers/nv30/nv30_state.c
src/gallium/drivers/nv40/nv40_context.c
src/gallium/drivers/nv40/nv40_context.h
src/gallium/drivers/nv40/nv40_state.c
src/gallium/drivers/nvfx/Makefile
src/gallium/drivers/nvfx/nvfx_context.h
src/gallium/drivers/nvfx/nvfx_state.c [new file with mode: 0644]