diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2017-04-18 22:16:32 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-18 22:16:32 +1000 |
| commit | d1dc9d5a0ccbe17f47b74517a0636751de9f888c (patch) | |
| tree | 8423523f082705e253cc37f81f98cbf250878715 /Source/Core/VideoCommon/RenderState.cpp | |
| parent | 16a947a88b6fee5ce96373550140bcb4b3911565 (diff) | |
| parent | fd896bd9e051dd29b4186e6b028067ecade4b515 (diff) | |
Merge pull request #5284 from stenzek/vulkan-videocommon-blending-state
Vulkan: Use BlendingState from VideoCommon
Diffstat (limited to 'Source/Core/VideoCommon/RenderState.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderState.cpp b/Source/Core/VideoCommon/RenderState.cpp index 2e84646ce4..696574f109 100644 --- a/Source/Core/VideoCommon/RenderState.cpp +++ b/Source/Core/VideoCommon/RenderState.cpp @@ -61,10 +61,10 @@ void BlendingState::Generate(const BPMemory& bp) bool target_has_alpha = bp.zcontrol.pixel_format == PEControl::RGBA6_Z24; bool alpha_test_may_success = bp.alpha_test.TestResult() != AlphaTest::FAIL; - dither = bp.blendmode.dither; colorupdate = bp.blendmode.colorupdate && alpha_test_may_success; alphaupdate = bp.blendmode.alphaupdate && target_has_alpha && alpha_test_may_success; dstalpha = bp.dstalpha.enable && alphaupdate; + usedualsrc = true; // The subtract bit has the highest priority if (bp.blendmode.subtract) |
