diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-20 19:32:29 +0100 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2010-03-15 00:03:02 -0400 |
commit | 8611a31bb401fcc2bdc0b3624859fffff7236c4b (patch) | |
tree | e9e50bffbf9964dfa0ab8ea713f1361c48389f1d /src/gallium/drivers/nvfx/Makefile | |
parent | e392e0b148d6b499322e58a84f300e2e0be49e29 (diff) |
nv30, nv40: unify nv[34]0_miptree.c
The only difference between nv30 and nv40 is that nv30 allowed swizzling
for more texture types.
This patch preserves the existing behavior, using conditional code.
Note however that this does not make sense, since all texture types can
be swizzled on nv40 and probably on nv30 too.
However, the handling of swizzled surfaces in the current 2D code is
partially broken, so it's best not to touch this.
A whole rewrite of the 2D code will be submitted, which will solve this
problem.
Diffstat (limited to 'src/gallium/drivers/nvfx/Makefile')
-rw-r--r-- | src/gallium/drivers/nvfx/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/Makefile b/src/gallium/drivers/nvfx/Makefile index e96c9aa6bc..5073168604 100644 --- a/src/gallium/drivers/nvfx/Makefile +++ b/src/gallium/drivers/nvfx/Makefile @@ -6,6 +6,7 @@ LIBNAME = nvfx C_SOURCES = \ nvfx_clear.c \ nvfx_state_emit.c \ + nvfx_miptree.c \ nvfx_state_blend.c \ nvfx_state_rasterizer.c \ nvfx_state_scissor.c \ |