[Mesa-dev] [PATCH] mesa/program: remove empty function declaration
Emil Velikov
emil.l.velikov at gmail.com
Wed Nov 25 12:17:06 PST 2015
From: Emil Velikov <emil.velikov at collabora.com>
Unused since
5e9aa9926b9 (2011) - _mesa_ir_compile_shader
69e07bdeb42 (2009) - _mesa_get_program_register
Cc: Kenneth Graunke <kenneth at whitecape.org>
Cc: Brian Paul <brianp at vmware.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/mesa/program/ir_to_mesa.h | 1 -
src/mesa/program/prog_execute.h | 4 ----
2 files changed, 5 deletions(-)
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index 2488a45..a70f575 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -34,7 +34,6 @@ struct gl_shader;
struct gl_shader_program;
void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
-GLboolean _mesa_ir_compile_shader(struct gl_context *ctx, struct gl_shader *shader);
GLboolean _mesa_ir_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
void
diff --git a/src/mesa/program/prog_execute.h b/src/mesa/program/prog_execute.h
index 09542bf..ffaa0c9 100644
--- a/src/mesa/program/prog_execute.h
+++ b/src/mesa/program/prog_execute.h
@@ -78,10 +78,6 @@ struct gl_program_machine
};
-extern void
-_mesa_get_program_register(struct gl_context *ctx, gl_register_file file,
- GLuint index, GLfloat val[4]);
-
extern GLboolean
_mesa_execute_program(struct gl_context *ctx,
const struct gl_program *program,
--
2.6.2
More information about the mesa-dev
mailing list