diff --git a/data/shaders/tessellation/passthrough.tesc.spv b/data/shaders/tessellation/passthrough.tesc.spv index 8e9f67a8..de402721 100644 Binary files a/data/shaders/tessellation/passthrough.tesc.spv and b/data/shaders/tessellation/passthrough.tesc.spv differ diff --git a/data/shaders/tessellation/passthrough.tese.spv b/data/shaders/tessellation/passthrough.tese.spv index 302f07fb..7e91dca6 100644 Binary files a/data/shaders/tessellation/passthrough.tese.spv and b/data/shaders/tessellation/passthrough.tese.spv differ diff --git a/data/shaders/tessellation/pntriangles.tesc.spv b/data/shaders/tessellation/pntriangles.tesc.spv index aa50ffb7..d7c90ed6 100644 Binary files a/data/shaders/tessellation/pntriangles.tesc.spv and b/data/shaders/tessellation/pntriangles.tesc.spv differ diff --git a/data/shaders/tessellation/pntriangles.tese.spv b/data/shaders/tessellation/pntriangles.tese.spv index 8ab4120c..f109621a 100644 Binary files a/data/shaders/tessellation/pntriangles.tese.spv and b/data/shaders/tessellation/pntriangles.tese.spv differ diff --git a/tessellation/tessellation.cpp b/tessellation/tessellation.cpp index 395a31df..d1e925d8 100644 --- a/tessellation/tessellation.cpp +++ b/tessellation/tessellation.cpp @@ -78,6 +78,15 @@ public: VkDescriptorSet descriptorSet; VkDescriptorSetLayout descriptorSetLayout; + // Device features to be enabled for this example + virtual VkPhysicalDeviceFeatures getEnabledFeatures() + { + VkPhysicalDeviceFeatures enabledFeatures{}; + enabledFeatures.tessellationShader = VK_TRUE; + enabledFeatures.fillModeNonSolid = VK_TRUE; + return enabledFeatures; + } + VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION) { zoom = -6.5f;