Commit 0e14a2e3 by Chris Forbes

Fix broken optimization of alpha VK_BLEND_OP_REVERSE_SUBTRACT

Test: dEQP-VK.pipeline.blend.* Bug: b/118386749 Change-Id: I382b6101980171fec6b7fad4d2a126b702526f8b Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30551 Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 351be42e
......@@ -590,7 +590,7 @@ namespace sw
}
else
{
return VK_BLEND_OP_ZERO_EXT;
return VK_BLEND_OP_REVERSE_SUBTRACT;
}
}
case VK_BLEND_OP_MIN:
......
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