diff options
| -rw-r--r-- | demos/vulkaninfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 15e9c8f9..90a4e838 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -426,7 +426,7 @@ static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) VkResult U_ASSERT_ONLY err; // Extensions to enable static const char *known_extensions[] = { - "VK_WSI_LunarG", + //TODO add WSI device extension WSI swapchain, WSI_LUNARG is a global extension }; uint32_t count = 0; @@ -482,6 +482,7 @@ static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) uint32_t enabled_extension_count = 0; +#if 0 //TODO add this back in once get WSI device extension in list for (uint32_t i = 0; i < ARRAY_SIZE(known_extensions); i++) { VkBool32 extension_found = 0; for (uint32_t j = 0; j < gpu->device_extension_count; j++) { @@ -497,6 +498,7 @@ static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) ERR_EXIT(VK_ERROR_INVALID_EXTENSION); } } +#endif /* request all queues */ info.queueRecordCount = gpu->queue_count; |
