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/VideoBackends/Vulkan/FramebufferManager.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/VideoBackends/Vulkan/FramebufferManager.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp index f4caacfc6a..a17135fa35 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp @@ -1163,14 +1163,10 @@ void FramebufferManager::DrawPokeVertices(const EFBPokeVertex* vertices, size_t pipeline_info.rasterization_state.bits = Util::GetNoCullRasterizationState().bits; pipeline_info.rasterization_state.samples = m_efb_samples; pipeline_info.depth_stencil_state.bits = Util::GetNoDepthTestingDepthStencilState().bits; - pipeline_info.blend_state.bits = Util::GetNoBlendingBlendState().bits; - pipeline_info.blend_state.write_mask = 0; + pipeline_info.blend_state.hex = Util::GetNoBlendingBlendState().hex; + pipeline_info.blend_state.colorupdate = write_color; + pipeline_info.blend_state.alphaupdate = write_color; pipeline_info.primitive_topology = m_poke_primitive_topology; - if (write_color) - { - pipeline_info.blend_state.write_mask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | - VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT; - } if (write_depth) { pipeline_info.depth_stencil_state.test_enable = VK_TRUE; |
