summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-22 21:19:14 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:29 +0200
commit0ace34575cd099fb0db955ab32c215106ef19f84 (patch)
tree2ce78fef9e2dc4491242bc2c0154a2afe32ea702 /src
parentshader: Simplify code in opcodes.h to fix Intellisense (diff)
downloadyuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar.gz
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar.bz2
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar.lz
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar.xz
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.tar.zst
yuzu-0ace34575cd099fb0db955ab32c215106ef19f84.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 038231298..9c609e504 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -219,7 +219,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
.geometryShader = true,
.tessellationShader = true,
.sampleRateShading = true,
- .dualSrcBlend = false,
+ .dualSrcBlend = true,
.logicOp = false,
.multiDrawIndirect = false,
.drawIndirectFirstInstance = false,
@@ -678,6 +678,7 @@ void Device::CheckSuitability(bool requires_swapchain) const {
std::make_pair(features.geometryShader, "geometryShader"),
std::make_pair(features.tessellationShader, "tessellationShader"),
std::make_pair(features.sampleRateShading, "sampleRateShading"),
+ std::make_pair(features.dualSrcBlend, "dualSrcBlend"),
std::make_pair(features.occlusionQueryPrecise, "occlusionQueryPrecise"),
std::make_pair(features.fragmentStoresAndAtomics, "fragmentStoresAndAtomics"),
std::make_pair(features.shaderImageGatherExtended, "shaderImageGatherExtended"),