[Mesa-dev] [PATCH 1/3] swr: fix AND_INVERTED logic op conversion
Ilia Mirkin
imirkin at alum.mit.edu
Tue Nov 8 00:18:49 UTC 2016
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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.3
More information about the mesa-dev
mailing list