mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
vk: Properly initialize EXT_multidraw functionality
This commit is contained in:
parent
ebcf403f4a
commit
7c538873b6
1 changed files with 9 additions and 0 deletions
|
@ -759,6 +759,15 @@ namespace vk
|
||||||
device.pNext = &custom_border_color_features;
|
device.pNext = &custom_border_color_features;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VkPhysicalDeviceMultiDrawFeaturesEXT multidraw_features{};
|
||||||
|
if (pgpu->multidraw_support)
|
||||||
|
{
|
||||||
|
multidraw_features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT;
|
||||||
|
multidraw_features.multiDraw = VK_TRUE;
|
||||||
|
multidraw_features.pNext = const_cast<void*>(device.pNext);
|
||||||
|
device.pNext = &multidraw_features;
|
||||||
|
}
|
||||||
|
|
||||||
VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT fbo_loop_features{};
|
VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT fbo_loop_features{};
|
||||||
if (pgpu->optional_features_support.framebuffer_loops)
|
if (pgpu->optional_features_support.framebuffer_loops)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue