From: Ilia Mirkin Date: Tue, 8 Nov 2016 00:18:49 +0000 (-0500) Subject: swr: fix AND_INVERTED logic op conversion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2e40e236f32e9f627c4db98b4983d5271f42e92;p=mesa.git swr: fix AND_INVERTED logic op conversion Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/swr_state.h b/src/gallium/drivers/swr/swr_state.h index 0e3b49d2b0d..84091149f96 100644 --- a/src/gallium/drivers/swr/swr_state.h +++ b/src/gallium/drivers/swr/swr_state.h @@ -106,7 +106,7 @@ swr_convert_logic_op(const UINT op) case PIPE_LOGICOP_NOR: return LOGICOP_NOR; case PIPE_LOGICOP_AND_INVERTED: - return LOGICOP_CLEAR; + return LOGICOP_AND_INVERTED; case PIPE_LOGICOP_COPY_INVERTED: return LOGICOP_COPY_INVERTED; case PIPE_LOGICOP_AND_REVERSE: