summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/program.h')
-rw-r--r--src/mesa/program/program.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h
index 5f322da85a6..defeb2f2a0f 100644
--- a/src/mesa/program/program.h
+++ b/src/mesa/program/program.h
@@ -98,15 +98,6 @@ _mesa_reference_fragprog(struct gl_context *ctx,
(struct gl_program *) prog);
}
-static inline void
-_mesa_reference_compprog(struct gl_context *ctx,
- struct gl_compute_program **ptr,
- struct gl_compute_program *prog)
-{
- _mesa_reference_program(ctx, (struct gl_program **) ptr,
- (struct gl_program *) prog);
-}
-
extern GLboolean
_mesa_insert_instructions(struct gl_program *prog, GLuint start, GLuint count);
@@ -187,18 +178,6 @@ gl_fragment_program_const(const struct gl_program *prog)
return (const struct gl_fragment_program *) prog;
}
-static inline struct gl_compute_program *
-gl_compute_program(struct gl_program *prog)
-{
- return (struct gl_compute_program *) prog;
-}
-
-static inline const struct gl_compute_program *
-gl_compute_program_const(const struct gl_program *prog)
-{
- return (const struct gl_compute_program *) prog;
-}
-
#ifdef __cplusplus
} /* extern "C" */
#endif