Mesa (master): nvfx: Remove unnecessary headers.

Vinson Lee vlee at kemper.freedesktop.org
Sat Apr 17 22:16:40 UTC 2010


Module: Mesa
Branch: master
Commit: e68c6be2f6d3a762169247e10f9a0ca341286fb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e68c6be2f6d3a762169247e10f9a0ca341286fb5

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Apr 17 15:14:47 2010 -0700

nvfx: Remove unnecessary headers.

---

 src/gallium/drivers/nvfx/nvfx_draw.c     |    2 --
 src/gallium/drivers/nvfx/nvfx_fragprog.c |    1 -
 src/gallium/drivers/nvfx/nvfx_miptree.c  |    2 --
 src/gallium/drivers/nvfx/nvfx_surface.c  |    1 -
 4 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/gallium/drivers/nvfx/nvfx_draw.c b/src/gallium/drivers/nvfx/nvfx_draw.c
index 2003be1..5eadce1 100644
--- a/src/gallium/drivers/nvfx/nvfx_draw.c
+++ b/src/gallium/drivers/nvfx/nvfx_draw.c
@@ -9,8 +9,6 @@
 #include "draw/draw_pipe.h"
 
 #include "nvfx_context.h"
-#include "nv30_vertprog.h"
-#include "nv40_vertprog.h"
 
 /* Simple, but crappy, swtnl path, hopefully we wont need to hit this very
  * often at all.  Uses "quadro style" vertex submission + a fixed vertex
diff --git a/src/gallium/drivers/nvfx/nvfx_fragprog.c b/src/gallium/drivers/nvfx/nvfx_fragprog.c
index 5fa825a..e14cf08 100644
--- a/src/gallium/drivers/nvfx/nvfx_fragprog.c
+++ b/src/gallium/drivers/nvfx/nvfx_fragprog.c
@@ -9,7 +9,6 @@
 
 #include "nvfx_context.h"
 #include "nvfx_shader.h"
-#include "nvfx_resource.h"
 
 #define MAX_CONSTS 128
 #define MAX_IMM 32
diff --git a/src/gallium/drivers/nvfx/nvfx_miptree.c b/src/gallium/drivers/nvfx/nvfx_miptree.c
index 602a476..97b2e5e 100644
--- a/src/gallium/drivers/nvfx/nvfx_miptree.c
+++ b/src/gallium/drivers/nvfx/nvfx_miptree.c
@@ -9,8 +9,6 @@
 #include "nvfx_transfer.h"
 #include "nv04_surface_2d.h"
 
-#include "nouveau/nouveau_util.h"
-
 /* Currently using separate implementations for buffers and textures,
  * even though gallium has a unified abstraction of these objects.
  * Eventually these should be combined, and mechanisms like transfers
diff --git a/src/gallium/drivers/nvfx/nvfx_surface.c b/src/gallium/drivers/nvfx/nvfx_surface.c
index 8a05ad0..2e11565 100644
--- a/src/gallium/drivers/nvfx/nvfx_surface.c
+++ b/src/gallium/drivers/nvfx/nvfx_surface.c
@@ -29,7 +29,6 @@
 #include "nvfx_context.h"
 #include "pipe/p_defines.h"
 #include "util/u_inlines.h"
-#include "util/u_tile.h"
 
 static void
 nvfx_surface_copy(struct pipe_context *pipe,




More information about the mesa-commit mailing list