summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-11-07 19:18:49 -0500
committerIlia Mirkin <[email protected]>2016-11-08 19:28:35 -0500
commite2e40e236f32e9f627c4db98b4983d5271f42e92 (patch)
treef453d189e236603ffd54fd55e4cb53bc832bd8a0 /src
parentbef4a48d1c68d74ad42d242483f440b5256e7adf (diff)
swr: fix AND_INVERTED logic op conversion
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/swr_state.h2
1 files changed, 1 insertions, 1 deletions
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: