Enable VK_AMD_shader_core_properties on replay if it's available

* This extension is used by GPA
This commit is contained in:
baldurk
2019-01-23 13:45:18 +00:00
parent 7044754065
commit 0f8573d4a5
@@ -1110,6 +1110,14 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi
RDCLOG("Enabling VK_AMD_gpa_interface");
}
// enable VK_AMD_shader_core_properties if it's available, for AMD counter support
if(supportedExtensions.find(VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME) !=
supportedExtensions.end())
{
Extensions.push_back(VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME);
RDCLOG("Enabling VK_AMD_shader_core_properties");
}
// enable VK_MVK_moltenvk if it's available, for detecting/controlling moltenvk.
// Currently this is used opaquely (extension present or not) rather than using anything the
// extension provides.