aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-19 11:59:12 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit92f77e9c01085c6babe6ce80dfe4e0e7abab61a1 (patch)
treeecea28bd6506ea75c1e980ea688f684a97822226 /src/mesa/program/program.h
parent9045ddcfe4ed2ecc6220db69dc33d6049956b99b (diff)
i965/mesa/st: eliminate gl_geometry_program
We now get all the gs metadata from shader_info. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/program/program.h')
-rw-r--r--src/mesa/program/program.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h
index 41806c218e4..a909dcc28d1 100644
--- a/src/mesa/program/program.h
+++ b/src/mesa/program/program.h
@@ -108,15 +108,6 @@ _mesa_reference_fragprog(struct gl_context *ctx,
}
static inline void
-_mesa_reference_geomprog(struct gl_context *ctx,
- struct gl_geometry_program **ptr,
- struct gl_geometry_program *prog)
-{
- _mesa_reference_program(ctx, (struct gl_program **) ptr,
- (struct gl_program *) prog);
-}
-
-static inline void
_mesa_reference_compprog(struct gl_context *ctx,
struct gl_compute_program **ptr,
struct gl_compute_program *prog)
@@ -222,20 +213,6 @@ gl_vertex_program_const(const struct gl_program *prog)
return (const struct gl_vertex_program *) prog;
}
-
-static inline struct gl_geometry_program *
-gl_geometry_program(struct gl_program *prog)
-{
- return (struct gl_geometry_program *) prog;
-}
-
-static inline const struct gl_geometry_program *
-gl_geometry_program_const(const struct gl_program *prog)
-{
- return (const struct gl_geometry_program *) prog;
-}
-
-
static inline struct gl_compute_program *
gl_compute_program(struct gl_program *prog)
{