From 936605fc8a69f67de323e5ede60c2f1373bfcafe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Jun 2010 20:31:29 -0600 Subject: [PATCH] mesa: move uniforms.c to main/ --- src/mesa/SConscript | 2 +- src/mesa/main/api_exec.c | 2 +- src/mesa/{shader => main}/uniforms.c | 2 +- src/mesa/{shader => main}/uniforms.h | 0 src/mesa/shader/slang/slang_link.c | 2 +- src/mesa/sources.mak | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) rename src/mesa/{shader => main}/uniforms.c (99%) rename src/mesa/{shader => main}/uniforms.h (100%) 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 similarity index 99% rename from src/mesa/shader/uniforms.c rename to 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 similarity index 100% rename from src/mesa/shader/uniforms.h rename to 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 \ -- 2.30.2