VulkanDevice: Request indenpendentBlend.

This is a core NXT feature but wasn't enabled, causing the Vulkan
validation layers to produce an error.
This commit is contained in:
Corentin Wallez 2018-04-17 16:39:14 -04:00 committed by Corentin Wallez
parent bfeb285dcf
commit 4977fa66a3
1 changed files with 3 additions and 0 deletions

View File

@ -471,6 +471,9 @@ namespace backend { namespace vulkan {
usedKnobs->swapchain = true;
}
// Always require independentBlend because it is a core NXT feature,
usedKnobs->features.independentBlend = VK_TRUE;
// Find a universal queue family
{
constexpr uint32_t kUniversalFlags =