Commit 8f79d388 by Ben Clayton Committed by Ben Clayton

Fix mismatch of enum types in equality test

Lost in the noise of other warnings Bug: b/123933266 Change-Id: I4c4eecb55a364c9afacf52b790f43f9d5c9640cb Reviewed-on: https://swiftshader-review.googlesource.com/c/25012Tested-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent d5317120
......@@ -513,7 +513,7 @@ namespace sw
}
else
{
if(destBlendFactor() == VK_BLEND_OP_ZERO_EXT)
if(destBlendFactor() == VK_BLEND_FACTOR_ZERO)
{
return VK_BLEND_OP_ZERO_EXT; // Negative, clamped to zero
}
......@@ -681,7 +681,7 @@ namespace sw
}
else
{
if(destBlendFactorAlpha() == VK_BLEND_OP_ZERO_EXT)
if(destBlendFactorAlpha() == VK_BLEND_FACTOR_ZERO)
{
return VK_BLEND_OP_ZERO_EXT; // Negative, clamped to zero
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment