swr: fix AND_INVERTED logic op conversion
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 8 Nov 2016 00:18:49 +0000 (19:18 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Nov 2016 00:28:35 +0000 (19:28 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_state.h

index 0e3b49d2b0d330476e85349d246e30d598aa33dd..84091149f968416ed46faf2a93cb5fb732d11c33 100644 (file)
@@ -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: