mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Add to enable VK_AMD_gpa_interface extension
This commit is contained in:
committed by
Baldur Karlsson
parent
fe8cbfcc8c
commit
d838109f25
@@ -1044,13 +1044,20 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi
|
||||
RDCLOG("Enabling VK_EXT_debug_marker");
|
||||
}
|
||||
|
||||
// enable VK_EXT_debug_marker if it's available, to fetch shader disassembly
|
||||
// enable VK_AMD_SHADER_INFO_EXTENSION_NAME if it's available, to fetch shader disassembly
|
||||
if(supportedExtensions.find(VK_AMD_SHADER_INFO_EXTENSION_NAME) != supportedExtensions.end())
|
||||
{
|
||||
Extensions.push_back(VK_AMD_SHADER_INFO_EXTENSION_NAME);
|
||||
RDCLOG("Enabling VK_AMD_shader_info");
|
||||
}
|
||||
|
||||
// enable VK_AMD_gpa_interface if it's available, for AMD counter support
|
||||
if(supportedExtensions.find("VK_AMD_gpa_interface") != supportedExtensions.end())
|
||||
{
|
||||
Extensions.push_back("VK_AMD_gpa_interface");
|
||||
RDCLOG("Enabling VK_AMD_gpa_interface");
|
||||
}
|
||||
|
||||
createInfo.enabledLayerCount = (uint32_t)Layers.size();
|
||||
|
||||
const char **layerArray = NULL;
|
||||
|
||||
Reference in New Issue
Block a user