Enabled required features for tessellation example, recompiled tessellation shaders with recent glslang compiler
This commit is contained in:
parent
a872fafe4e
commit
a6a6702bd2
5 changed files with 9 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue