Mesa (master): mesa: move nvprogram.[ch] to main/
Brian Paul
brianp at kemper.freedesktop.org
Thu Jun 24 04:31:06 UTC 2010
Module: Mesa
Branch: master
Commit: 7936e06657bc43de80ae4f56ee9db956e193d880
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7936e06657bc43de80ae4f56ee9db956e193d880
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jun 10 22:37:31 2010 -0600
mesa: move nvprogram.[ch] to main/
---
src/mesa/SConscript | 2 +-
src/mesa/main/api_exec.c | 4 ++--
src/mesa/main/dlist.c | 2 +-
src/mesa/{shader => main}/nvprogram.c | 14 +++++++-------
src/mesa/{shader => main}/nvprogram.h | 0
src/mesa/shader/nvvertparse.c | 2 +-
src/mesa/sources.mak | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 4580265..b65c86d 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -75,6 +75,7 @@ if env['platform'] != 'winddk':
'main/mipmap.c',
'main/mm.c',
'main/multisample.c',
+ 'main/nvprogram.c',
'main/pixel.c',
'main/pixelstore.c',
'main/points.c',
@@ -201,7 +202,6 @@ if env['platform'] != 'winddk':
'shader/hash_table.c',
'shader/lex.yy.c',
'shader/nvfragparse.c',
- 'shader/nvprogram.c',
'shader/nvvertparse.c',
'shader/program.c',
'shader/program_parse.tab.c',
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 505a05d..37d1ba4 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -92,10 +92,10 @@
#include "varray.h"
#include "viewport.h"
#if FEATURE_NV_vertex_program
-#include "shader/nvprogram.h"
+#include "nvprogram.h"
#endif
#if FEATURE_NV_fragment_program
-#include "shader/nvprogram.h"
+#include "nvprogram.h"
#endif
#if FEATURE_ARB_shader_objects
#include "shaderapi.h"
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index c5f362b..727414d 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -62,7 +62,7 @@
#include "arbprogram.h"
#endif
#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
-#include "shader/nvprogram.h"
+#include "nvprogram.h"
#endif
#include "math/m_matrix.h"
diff --git a/src/mesa/shader/nvprogram.c b/src/mesa/main/nvprogram.c
similarity index 99%
rename from src/mesa/shader/nvprogram.c
rename to src/mesa/main/nvprogram.c
index 19020be..7781648 100644
--- a/src/mesa/shader/nvprogram.c
+++ b/src/mesa/main/nvprogram.c
@@ -42,13 +42,13 @@
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
-#include "program.h"
-#include "prog_parameter.h"
-#include "prog_instruction.h"
-#include "nvfragparse.h"
-#include "nvvertparse.h"
-#include "arbprogparse.h"
-#include "nvprogram.h"
+#include "main/nvprogram.h"
+#include "shader/arbprogparse.h"
+#include "shader/nvfragparse.h"
+#include "shader/nvvertparse.h"
+#include "shader/program.h"
+#include "shader/prog_instruction.h"
+#include "shader/prog_parameter.h"
diff --git a/src/mesa/shader/nvprogram.h b/src/mesa/main/nvprogram.h
similarity index 100%
rename from src/mesa/shader/nvprogram.h
rename to src/mesa/main/nvprogram.h
diff --git a/src/mesa/shader/nvvertparse.c b/src/mesa/shader/nvvertparse.c
index 7332fc4..e2afcfd 100644
--- a/src/mesa/shader/nvvertparse.c
+++ b/src/mesa/shader/nvvertparse.c
@@ -40,7 +40,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"
-#include "nvprogram.h"
+#include "main/nvprogram.h"
#include "nvvertparse.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index f2f111e..38b781c 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -57,6 +57,7 @@ MAIN_SOURCES = \
main/mipmap.c \
main/mm.c \
main/multisample.c \
+ main/nvprogram.c \
main/pixel.c \
main/pixelstore.c \
main/points.c \
@@ -232,7 +233,6 @@ SHADER_SOURCES = \
shader/hash_table.c \
shader/lex.yy.c \
shader/nvfragparse.c \
- shader/nvprogram.c \
shader/nvvertparse.c \
shader/program.c \
shader/program_parse.tab.c \
More information about the mesa-commit
mailing list