renderer_vulkan: Use getToolPropertiesEXT instead of getToolProperties (#7434)

getToolProperties is not available until Vulkan 1.3; we need to use the EXT version.
This commit is contained in:
Steveice10 2024-02-13 21:43:09 -08:00 committed by GitHub
parent b9c9beeee5
commit 5e02be75a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -670,7 +670,7 @@ void Instance::CollectToolingInfo() {
if (!tooling_info) { if (!tooling_info) {
return; return;
} }
const auto tools = physical_device.getToolProperties(); const auto tools = physical_device.getToolPropertiesEXT();
for (const vk::PhysicalDeviceToolProperties& tool : tools) { for (const vk::PhysicalDeviceToolProperties& tool : tools) {
const std::string_view name = tool.name; const std::string_view name = tool.name;
LOG_INFO(Render_Vulkan, "Attached debugging tool: {}", name); LOG_INFO(Render_Vulkan, "Attached debugging tool: {}", name);