summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/swr/swr_state.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp
index 526d7e7307d..783afba2b42 100644
--- a/src/gallium/drivers/swr/swr_state.cpp
+++ b/src/gallium/drivers/swr/swr_state.cpp
@@ -1318,6 +1318,9 @@ swr_update_derived(struct pipe_context *pipe,
compileState.blendState.logicOpEnable = false;
}
+ if (info.type[0] == SWR_TYPE_SINT || info.type[0] == SWR_TYPE_UINT)
+ compileState.blendState.blendEnable = false;
+
if (compileState.blendState.blendEnable == false &&
compileState.blendState.logicOpEnable == false &&
ctx->depth_stencil->alpha.enabled == 0) {