mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Fix handling of instance extensions in vulkan tests
This commit is contained in:
1 file changed
+3
-3
@@ -414,6 +414,9 @@ void VulkanGraphicsTest::Prepare(int argc, char **argv)
|
||||
CHECK_VKR(vkh::enumerateInstanceLayerProperties(availInstLayers));
|
||||
CHECK_VKR(vkh::enumerateInstanceExtensionProperties(availInstExts, NULL));
|
||||
|
||||
instExts = enabledInstExts;
|
||||
instLayers = enabledLayers;
|
||||
|
||||
for(const char *l : instLayers)
|
||||
{
|
||||
bool layerSupported = false;
|
||||
@@ -462,9 +465,6 @@ void VulkanGraphicsTest::Prepare(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
instExts = enabledInstExts;
|
||||
instLayers = enabledLayers;
|
||||
|
||||
std::vector<VkExtensionProperties> supportedExts;
|
||||
CHECK_VKR(vkh::enumerateDeviceExtensionProperties(supportedExts, phys, NULL));
|
||||
|
||||
|
||||
Reference in new issue
Block a user