mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Vulkan: Fix our use of dual source blending, re-enable if available.
This commit is contained in:
parent
add506a0d3
commit
966cb89d41
2 changed files with 3 additions and 3 deletions
|
@ -644,7 +644,7 @@ VkResult VulkanContext::CreateDevice(int physical_device) {
|
|||
|
||||
// Enable a few safe ones if they are available.
|
||||
if (featuresAvailable_.dualSrcBlend) {
|
||||
// featuresEnabled_.dualSrcBlend = true;
|
||||
featuresEnabled_.dualSrcBlend = true;
|
||||
}
|
||||
if (featuresAvailable_.largePoints) {
|
||||
featuresEnabled_.largePoints = true;
|
||||
|
|
|
@ -48,8 +48,8 @@ static const VkBlendFactor vkBlendFactorLookup[(size_t)BlendFactor::COUNT] = {
|
|||
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,
|
||||
VK_BLEND_FACTOR_CONSTANT_ALPHA,
|
||||
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA,
|
||||
VK_BLEND_FACTOR_SRC1_COLOR,
|
||||
VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR,
|
||||
VK_BLEND_FACTOR_SRC1_ALPHA,
|
||||
VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA,
|
||||
VK_BLEND_FACTOR_MAX_ENUM,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue