From 0616eeff4e697e4cd23cb9c97f5dd83afb79d908 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 26 Jun 2016 11:03:05 +0200 Subject: [PATCH] Revert fixed tessellation device features in base class --- base/vulkanexamplebase.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index 57a7d7bd..d0492d64 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -54,18 +54,12 @@ VkResult VulkanExampleBase::createDevice(VkDeviceQueueCreateInfo requestedQueues { std::vector enabledExtensions = { VK_KHR_SWAPCHAIN_EXTENSION_NAME }; - VkPhysicalDeviceFeatures enabledFeatures = {}; - enabledFeatures.tessellationShader = true; - enabledFeatures.shaderTessellationAndGeometryPointSize = true; - enabledFeatures.shaderClipDistance = true; - enabledFeatures.shaderCullDistance = true; - VkDeviceCreateInfo deviceCreateInfo = {}; deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; deviceCreateInfo.pNext = NULL; deviceCreateInfo.queueCreateInfoCount = 1; deviceCreateInfo.pQueueCreateInfos = &requestedQueues; - deviceCreateInfo.pEnabledFeatures = &enabledFeatures; + deviceCreateInfo.pEnabledFeatures = nullptr; // enable the debug marker extension if it is present (likely meaning a debugging tool is present) if (vkTools::checkDeviceExtensionPresent(physicalDevice, VK_EXT_DEBUG_MARKER_EXTENSION_NAME))