Mesa (master): mesa: move arbprogram.[ch] to main/

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 23 21:31:06 PDT 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun 10 22:32:21 2010 -0600

mesa: move arbprogram.[ch] to main/

---

 src/mesa/SConscript                             |    2 +-
 src/mesa/drivers/common/meta.c                  |    2 +-
 src/mesa/drivers/dri/common/dri_metaops.c       |    2 +-
 src/mesa/drivers/dri/intel/intel_pixel_bitmap.c |    2 +-
 src/mesa/main/api_exec.c                        |    2 +-
 src/mesa/{shader => main}/arbprogram.c          |   10 +++++-----
 src/mesa/{shader => main}/arbprogram.h          |    0 
 src/mesa/main/dlist.c                           |    2 +-
 src/mesa/sources.mak                            |    2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 8899610..4580265 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -31,6 +31,7 @@ if env['platform'] != 'winddk':
 		'main/api_noop.c',
 		'main/api_validate.c',
 		'main/accum.c',
+		'main/arbprogram.c',
 		'main/atifragshader.c',
 		'main/attrib.c',
 		'main/arrayobj.c',
@@ -197,7 +198,6 @@ if env['platform'] != 'winddk':
 	
 	shader_sources = [
 		'shader/arbprogparse.c',
-		'shader/arbprogram.c',
 		'shader/hash_table.c',
 		'shader/lex.yy.c',
 		'shader/nvfragparse.c',
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index f808e15..9384828 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -34,6 +34,7 @@
 #include "main/glheader.h"
 #include "main/mtypes.h"
 #include "main/imports.h"
+#include "main/arbprogram.h"
 #include "main/arrayobj.h"
 #include "main/blend.h"
 #include "main/bufferobj.h"
@@ -62,7 +63,6 @@
 #include "main/varray.h"
 #include "main/viewport.h"
 #include "shader/program.h"
-#include "shader/arbprogram.h"
 #include "swrast/swrast.h"
 #include "drivers/common/meta.h"
 
diff --git a/src/mesa/drivers/dri/common/dri_metaops.c b/src/mesa/drivers/dri/common/dri_metaops.c
index dfb7d64..9151c03 100644
--- a/src/mesa/drivers/dri/common/dri_metaops.c
+++ b/src/mesa/drivers/dri/common/dri_metaops.c
@@ -26,6 +26,7 @@
  *
  **************************************************************************/
 
+#include "main/arbprogram.h"
 #include "main/arrayobj.h"
 #include "main/bufferobj.h"
 #include "main/enable.h"
@@ -33,7 +34,6 @@
 #include "main/texstate.h"
 #include "main/varray.h"
 #include "main/viewport.h"
-#include "shader/arbprogram.h"
 #include "shader/program.h"
 #include "dri_metaops.h"
 
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
index 076fee8..0e2fe89 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 #include "main/glheader.h"
+#include "main/arbprogram.h"
 #include "main/enums.h"
 #include "main/image.h"
 #include "main/colormac.h"
@@ -44,7 +45,6 @@
 #include "main/attrib.h"
 #include "main/enable.h"
 #include "main/viewport.h"
-#include "shader/arbprogram.h"
 #include "swrast/swrast.h"
 
 #include "intel_screen.h"
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index cf421bf..505a05d 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -34,7 +34,7 @@
 #include "api_loopback.h"
 #include "api_exec.h"
 #if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
-#include "shader/arbprogram.h"
+#include "arbprogram.h"
 #endif
 #include "atifragshader.h"
 #include "attrib.h"
diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/main/arbprogram.c
similarity index 99%
rename from src/mesa/shader/arbprogram.c
rename to src/mesa/main/arbprogram.c
index 8c0b944..b6577b8 100644
--- a/src/mesa/shader/arbprogram.c
+++ b/src/mesa/main/arbprogram.c
@@ -35,11 +35,11 @@
 #include "main/imports.h"
 #include "main/macros.h"
 #include "main/mtypes.h"
-#include "arbprogram.h"
-#include "arbprogparse.h"
-#include "nvfragparse.h"
-#include "nvvertparse.h"
-#include "program.h"
+#include "main/arbprogram.h"
+#include "shader/arbprogparse.h"
+#include "shader/nvfragparse.h"
+#include "shader/nvvertparse.h"
+#include "shader/program.h"
 
 
 
diff --git a/src/mesa/shader/arbprogram.h b/src/mesa/main/arbprogram.h
similarity index 100%
rename from src/mesa/shader/arbprogram.h
rename to src/mesa/main/arbprogram.h
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 1a7b6f0..c5f362b 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -59,7 +59,7 @@
 #include "mtypes.h"
 #include "varray.h"
 #if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
-#include "shader/arbprogram.h"
+#include "arbprogram.h"
 #endif
 #if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
 #include "shader/nvprogram.h"
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 41104cd..f2f111e 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -12,6 +12,7 @@ MAIN_SOURCES = \
 	main/api_noop.c \
 	main/api_validate.c \
 	main/accum.c \
+	main/arbprogram.c \
 	main/atifragshader.c \
 	main/attrib.c \
 	main/arrayobj.c \
@@ -228,7 +229,6 @@ STATETRACKER_SOURCES = \
 
 SHADER_SOURCES = \
 	shader/arbprogparse.c \
-	shader/arbprogram.c \
 	shader/hash_table.c \
 	shader/lex.yy.c \
 	shader/nvfragparse.c \



More information about the mesa-commit mailing list