From 0a8428fb6c68bae3696505ae5580320ce184ff31 Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Fri, 29 Mar 2019 22:43:02 +0100 Subject: [PATCH] Comment on Vulkan 1.1 and core feature --- examples/negativeviewportheight/negativeviewportheight.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/negativeviewportheight/negativeviewportheight.cpp b/examples/negativeviewportheight/negativeviewportheight.cpp index ac047a9b..19215272 100644 --- a/examples/negativeviewportheight/negativeviewportheight.cpp +++ b/examples/negativeviewportheight/negativeviewportheight.cpp @@ -68,6 +68,7 @@ public: title = "Negative Viewport height"; settings.overlay = true; // [POI] VK_KHR_MAINTENANCE1 is required for using negative viewport heights + // Note: This is core as of Vulkan 1.1. So if you target 1.1 you don't have to explicitly enable this enabledDeviceExtensions.push_back(VK_KHR_MAINTENANCE1_EXTENSION_NAME); }