From e2e40e236f32e9f627c4db98b4983d5271f42e92 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 7 Nov 2016 19:18:49 -0500 Subject: [PATCH] swr: fix AND_INVERTED logic op conversion Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- src/gallium/drivers/swr/swr_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/swr/swr_state.h b/src/gallium/drivers/swr/swr_state.h index 0e3b49d..8409114 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: -- 2.7.4