diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 203c9fef533..48c2066e8a3 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -334,15 +334,8 @@ struct brw_program { }; -/** Subclass of Mesa fragment program */ -struct brw_fragment_program { - struct gl_program program; - GLuint id; /**< serial no. to identify frag progs, never re-used */ -}; - - struct gen4_fragment_program { - struct brw_fragment_program base; + struct brw_program base; bool contains_flat_varying; bool contains_noperspective_varying; @@ -1690,18 +1683,6 @@ brw_program_const(const struct gl_program *p) return (const struct brw_program *) p; } -static inline struct brw_fragment_program * -brw_fragment_program(struct gl_program *p) -{ - return (struct brw_fragment_program *) p; -} - -static inline const struct brw_fragment_program * -brw_fragment_program_const(const struct gl_program *p) -{ - return (const struct brw_fragment_program *) p; -} - static inline struct brw_compute_program * brw_compute_program(struct gl_program *p) { |