aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-19 11:13:52 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit64d9773cfebded42691a70e3b233cadf896e53ba (patch)
tree5723116394eb77c64c8bb52459540131ec1ab38f /src/mesa/program/program.h
parent750b14ed8e6ff539f17069dec63004159575ccd8 (diff)
i965/mesa/st: eliminate gl_tess_ctrl_program
We now get all the tcs 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 09e69280d46..d937f826697 100644
--- a/src/mesa/program/program.h
+++ b/src/mesa/program/program.h
@@ -125,16 +125,6 @@ _mesa_reference_compprog(struct gl_context *ctx,
(struct gl_program *) prog);
}
-
-static inline void
-_mesa_reference_tesscprog(struct gl_context *ctx,
- struct gl_tess_ctrl_program **ptr,
- struct gl_tess_ctrl_program *prog)
-{
- _mesa_reference_program(ctx, (struct gl_program **) ptr,
- (struct gl_program *) prog);
-}
-
static inline void
_mesa_reference_tesseprog(struct gl_context *ctx,
struct gl_tess_eval_program **ptr,
@@ -267,19 +257,6 @@ gl_compute_program_const(const struct gl_program *prog)
return (const struct gl_compute_program *) prog;
}
-static inline struct gl_tess_ctrl_program *
-gl_tess_ctrl_program(struct gl_program *prog)
-{
- return (struct gl_tess_ctrl_program *) prog;
-}
-
-static inline const struct gl_tess_ctrl_program *
-gl_tess_ctrl_program_const(const struct gl_program *prog)
-{
- return (const struct gl_tess_ctrl_program *) prog;
-}
-
-
static inline struct gl_tess_eval_program *
gl_tess_eval_program(struct gl_program *prog)
{