[Mesa-dev] [PATCH mesa] r200: remove left over dead code

Elie Tournier tournier.elie at gmail.com
Fri Feb 9 11:54:06 UTC 2018


On Fri, Feb 09, 2018 at 11:42:50AM +0000, Eric Engestrom wrote:
> 0aaa27f29187ffb739c7 removed the references to this array without
> removing the array itself
> 
> Cc: Ian Romanick <ian.d.romanick at intel.com>
> Fixes: 0aaa27f29187ffb739c7 "mesa: Pass the translated color logic op dd_function_table::LogicOpcode"
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Elie Tournier <elie.tournier at collabora.com>
> ---
>  src/mesa/drivers/dri/r200/r200_state.c | 20 --------------------
>  1 file changed, 20 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c
> index 33b696347a3d2218a92e..d53225d63abe9409e0ef 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);
> -- 
> Cheers,
>   Eric
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list