commit | 0e14a2e3d65186bb1135f9454cb6f47ba5f9dc5b | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisforbes@google.com> | Fri May 03 13:31:42 2019 -0700 |
committer | Chris Forbes <chrisforbes@google.com> | Fri May 03 21:53:35 2019 +0000 |
tree | c8e1c4932e8b4ff33b65845796de04665cc33304 | |
parent | 351be42e358f1185626de86dffc0e684dae3cf1f [diff] |
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: Chris Forbes <chrisforbes@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
diff --git a/src/Device/Context.cpp b/src/Device/Context.cpp index 8d460c8..ce4fc3e 100644 --- a/src/Device/Context.cpp +++ b/src/Device/Context.cpp
@@ -590,7 +590,7 @@ } else { - return VK_BLEND_OP_ZERO_EXT; + return VK_BLEND_OP_REVERSE_SUBTRACT; } } case VK_BLEND_OP_MIN: