mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Handle implicitly-enabled promoted extensions. Refs #2695
This commit is contained in:
@@ -3250,6 +3250,15 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR,
|
||||
};
|
||||
|
||||
if(RDCMIN(m_EnabledExtensions.vulkanVersion, physProps.apiVersion) >= VK_MAKE_VERSION(1, 3, 0))
|
||||
{
|
||||
// VK_EXT_extended_dynamic_state and VK_EXT_extended_dynamic_state2 were unconditionally
|
||||
// promoted and considered implicitly enabled in vulkan 1.3
|
||||
m_ExtendedDynState = true;
|
||||
m_ExtendedDynState2 = true;
|
||||
// logic and patch CPs were not
|
||||
}
|
||||
|
||||
if(RDCMIN(m_EnabledExtensions.vulkanVersion, physProps.apiVersion) >= VK_MAKE_VERSION(1, 2, 0))
|
||||
{
|
||||
VkPhysicalDeviceVulkan12Features avail12Features = {
|
||||
|
||||
Reference in New Issue
Block a user