From: Eric Engestrom Date: Fri, 9 Feb 2018 11:38:43 +0000 (+0000) Subject: r200: remove left over dead code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=111d4bf1d0f2dfab274646a6474f05198203f566;p=mesa.git r200: remove left over dead code 0aaa27f29187ffb739c7 removed the references to this array without removing the array itself Cc: Ian Romanick Fixes: 0aaa27f29187ffb739c7 "mesa: Pass the translated color logic op dd_function_table::LogicOpcode" Signed-off-by: Eric Engestrom Reviewed-by: Elie Tournier --- diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c index 33b696347a3..d53225d63ab 100644 --- a/src/mesa/drivers/dri/r200/r200_state.c +++ b/src/mesa/drivers/dri/r200/r200_state.c @@ -1626,26 +1626,6 @@ static void r200RenderMode( struct gl_context *ctx, GLenum mode ) FALLBACK( rmesa, R200_FALLBACK_RENDER_MODE, (mode != GL_RENDER) ); } - -static GLuint r200_rop_tab[] = { - R200_ROP_CLEAR, - R200_ROP_AND, - R200_ROP_AND_REVERSE, - R200_ROP_COPY, - R200_ROP_AND_INVERTED, - R200_ROP_NOOP, - R200_ROP_XOR, - R200_ROP_OR, - R200_ROP_NOR, - R200_ROP_EQUIV, - R200_ROP_INVERT, - R200_ROP_OR_REVERSE, - R200_ROP_COPY_INVERTED, - R200_ROP_OR_INVERTED, - R200_ROP_NAND, - R200_ROP_SET, -}; - static void r200LogicOpCode(struct gl_context *ctx, enum gl_logicop_mode opcode) { r200ContextPtr rmesa = R200_CONTEXT(ctx);