diff --git a/en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc b/en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc index bd32bbf5..2be8579a 100644 --- a/en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc +++ b/en/03_Drawing_a_triangle/00_Setup/04_Logical_device_and_queues.adoc @@ -64,20 +64,6 @@ float queuePriority = 0.5f; vk::DeviceQueueCreateInfo deviceQueueCreateInfo { .queueFamilyIndex = graphicsIndex, .queueCount = 1, .pQueuePriorities = &queuePriority }; ---- -== Specifying used device features - -The next information to specify is the set of device features that we'll be -using. These are the features that we queried support for with -`vk::raii::PhysicalDevice::getFeatures` in the previous chapter, like geometry shaders. -Right now we don't need anything special, so we can simply define it and leave -everything to `vk::False`. We'll come back to this structure once we're about to -start doing more interesting things with Vulkan. - -[,c++] ----- -vk::PhysicalDeviceFeatures deviceFeatures; ----- - == Enabling additional device features Vulkan is designed to be backwards compatible, which means that by default, you only get access to the basic features that were available in Vulkan 1.0. To use newer features, you need to explicitly request them during device creation. @@ -108,7 +94,7 @@ vk::StructureChain