aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-06-10 20:23:03 -0600
committerBrian Paul <[email protected]>2010-06-10 20:32:57 -0600
commita37b2219d6e3f299379c6434d65f300660d12c3e (patch)
tree7e3000d9f93531979452d168d542e00ebf66e6e7 /src/mesa/main/api_exec.c
parent050eed095a3f7eaeada1e292f92f2b549d74963f (diff)
mesa: refactor shader api / object code
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 06df97dfede..fd0c6c96a37 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -98,7 +98,8 @@
#include "shader/nvprogram.h"
#endif
#if FEATURE_ARB_shader_objects
-#include "shaders.h"
+#include "shaderapi.h"
+#include "shader/uniforms.h"
#endif
#if FEATURE_ARB_sync
#include "syncobj.h"
@@ -347,6 +348,7 @@ _mesa_create_exec_table(void)
#if FEATURE_ARB_shader_objects
_mesa_init_shader_dispatch(exec);
+ _mesa_init_shader_uniform_dispatch(exec);
#endif
/* 2. GL_EXT_blend_color */