summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/SConscript2
-rw-r--r--src/mesa/main/api_exec.c2
-rw-r--r--src/mesa/main/uniforms.c (renamed from src/mesa/shader/uniforms.c)2
-rw-r--r--src/mesa/main/uniforms.h (renamed from src/mesa/shader/uniforms.h)0
-rw-r--r--src/mesa/shader/slang/slang_link.c2
-rw-r--r--src/mesa/sources.mak4
6 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 1f831956e1b..0c3c2b30c0f 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -105,6 +105,7 @@ if env['platform'] != 'winddk':
'main/texstate.c',
'main/texstore.c',
'main/transformfeedback.c',
+ 'main/uniforms.c',
'main/varray.c',
'main/version.c',
'main/viewport.c',
@@ -217,7 +218,6 @@ if env['platform'] != 'winddk':
'shader/prog_uniform.c',
'shader/programopt.c',
'shader/symbol_table.c',
- 'shader/uniforms.c',
]
slang_sources = [
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index fd0c6c96a37..137223acc8b 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -99,7 +99,7 @@
#endif
#if FEATURE_ARB_shader_objects
#include "shaderapi.h"
-#include "shader/uniforms.h"
+#include "uniforms.h"
#endif
#if FEATURE_ARB_sync
#include "syncobj.h"
diff --git a/src/mesa/shader/uniforms.c b/src/mesa/main/uniforms.c
index ed1efe5c298..6452980e9cc 100644
--- a/src/mesa/shader/uniforms.c
+++ b/src/mesa/main/uniforms.c
@@ -40,7 +40,7 @@
#include "main/dispatch.h"
#include "main/shaderapi.h"
#include "main/shaderobj.h"
-#include "uniforms.h"
+#include "main/uniforms.h"
#include "shader/prog_parameter.h"
#include "shader/prog_statevars.h"
#include "shader/prog_uniform.h"
diff --git a/src/mesa/shader/uniforms.h b/src/mesa/main/uniforms.h
index 29f77cb35a0..29f77cb35a0 100644
--- a/src/mesa/shader/uniforms.h
+++ b/src/mesa/main/uniforms.h
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index 6b1c1532455..56d42ca0a79 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -34,13 +34,13 @@
#include "main/macros.h"
#include "main/shaderapi.h"
#include "main/shaderobj.h"
+#include "main/uniforms.h"
#include "shader/program.h"
#include "shader/prog_instruction.h"
#include "shader/prog_parameter.h"
#include "shader/prog_print.h"
#include "shader/prog_statevars.h"
#include "shader/prog_uniform.h"
-#include "shader/uniforms.h"
#include "slang_builtin.h"
#include "slang_link.h"
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 85471dd8179..4ad9dbfe55c 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -89,6 +89,7 @@ MAIN_SOURCES = \
main/texstate.c \
main/texstore.c \
main/transformfeedback.c \
+ main/uniforms.c \
main/varray.c \
main/version.c \
main/viewport.c \
@@ -247,8 +248,7 @@ SHADER_SOURCES = \
shader/prog_statevars.c \
shader/prog_uniform.c \
shader/programopt.c \
- shader/symbol_table.c \
- shader/uniforms.c
+ shader/symbol_table.c
SLANG_SOURCES = \
shader/slang/slang_builtin.c \