diff options
| author | Stenzek <stenzek@gmail.com> | 2017-04-17 23:14:17 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-04-18 21:55:22 +1000 |
| commit | 9dc7358395c167925cac18af3c900fe7847da847 (patch) | |
| tree | 0f7705287f1f7c6c25e3deb1feaa98431c15fca1 /Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | |
| parent | 34ad5b457dacf175d30b5521f863b45176374dff (diff) | |
Vulkan: Use BlendingState from VideoCommon
Remove the internal BlendState union. Also fixes Kirby's Return to
Dreamland shadows.
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 9b07f8645e..0b3ce94959 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp @@ -1157,14 +1157,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; |
