[Mesa-dev] [PATCH 05/23] mesa: Remove the NV program API functions.

Kenneth Graunke kenneth at whitecape.org
Sun Oct 14 17:43:05 PDT 2012


These are all unused now.
---
 src/mesa/SConscript       |   1 -
 src/mesa/main/api_exec.c  |   1 -
 src/mesa/main/dlist.c     |   1 -
 src/mesa/main/nvprogram.c | 489 ----------------------------------------------
 src/mesa/main/nvprogram.h |  86 --------
 src/mesa/sources.mak      |   1 -
 6 files changed, 579 deletions(-)
 delete mode 100644 src/mesa/main/nvprogram.c
 delete mode 100644 src/mesa/main/nvprogram.h

I removed the deleted files from the patch to shrink the email.

diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 306e22e..9760cc3 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -92,7 +92,6 @@ main_sources = [
     'main/mipmap.c',
     'main/mm.c',
     'main/multisample.c',
-    'main/nvprogram.c',
     'main/pack.c',
     'main/pbo.c',
     'main/pixel.c',
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 9d8efce..cb1cd34 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -87,7 +87,6 @@
 #include "mtypes.h"
 #include "varray.h"
 #include "viewport.h"
-#include "nvprogram.h"
 #include "shaderapi.h"
 #include "uniforms.h"
 #include "syncobj.h"
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 13a7f6f..b05c2cc 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -63,7 +63,6 @@
 #include "mtypes.h"
 #include "varray.h"
 #include "arbprogram.h"
-#include "nvprogram.h"
 #include "transformfeedback.h"
 
 #include "math/m_matrix.h"
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c
deleted file mode 100644
index 6565190..0000000
--- a/src/mesa/main/nvprogram.c
+++ /dev/null
diff --git a/src/mesa/main/nvprogram.h b/src/mesa/main/nvprogram.h
deleted file mode 100644
index cabd99b..0000000
--- a/src/mesa/main/nvprogram.h
+++ /dev/null
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index a9f02bb..04ddfe8 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -60,7 +60,6 @@ MAIN_FILES = \
 	$(SRCDIR)main/mipmap.c \
 	$(SRCDIR)main/mm.c \
 	$(SRCDIR)main/multisample.c \
-	$(SRCDIR)main/nvprogram.c \
 	$(SRCDIR)main/pack.c \
 	$(SRCDIR)main/pbo.c \
 	$(SRCDIR)main/pixel.c \
-- 
1.7.12.2



More information about the mesa-dev mailing list