summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-02-26 00:42:24 -0800
committerKenneth Graunke <[email protected]>2011-03-17 14:48:54 -0700
commit5e9aa9926b9bdf1260ce7350b88908bda337388b (patch)
tree65caded35341c4b1f5efb94f11c7e4cc17447e99 /src/mesa/main
parentcbadedb511cfcebaf15029891221211219584fb3 (diff)
mesa: Remove the CompileShader driver hook; it's just a no-op.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h9
-rw-r--r--src/mesa/main/shaderobj.c1
2 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 0947672a081..34d67b5bac8 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -602,15 +602,6 @@ struct dd_function_table {
*/
/*@{*/
/**
- * Called when a shader is compiled.
- *
- * Note that not all shader objects get ShaderCompile called on
- * them. Notably, the shaders containing builtin functions do not
- * have CompileShader() called, so if lowering passes are done they
- * need to also be performed in LinkShader().
- */
- GLboolean (*CompileShader)(struct gl_context *ctx, struct gl_shader *shader);
- /**
* Called when a shader program is linked.
*
* This gives drivers an opportunity to clone the IR and make their
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c
index 62de23bd100..33d91ad594d 100644
--- a/src/mesa/main/shaderobj.c
+++ b/src/mesa/main/shaderobj.c
@@ -410,6 +410,5 @@ _mesa_init_shader_object_functions(struct dd_function_table *driver)
driver->DeleteShader = _mesa_delete_shader;
driver->NewShaderProgram = _mesa_new_shader_program;
driver->DeleteShaderProgram = _mesa_delete_shader_program;
- driver->CompileShader = _mesa_ir_compile_shader;
driver->LinkShader = _mesa_ir_link_shader;
}