Enabled required features for displacement example, recompiled tessellation shaders with recent glslang compiler
This commit is contained in:
parent
a6a6702bd2
commit
ca27585ee6
4 changed files with 9 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -75,6 +75,15 @@ public:
|
||||||
VkDescriptorSet descriptorSet;
|
VkDescriptorSet descriptorSet;
|
||||||
VkDescriptorSetLayout descriptorSetLayout;
|
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)
|
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
|
||||||
{
|
{
|
||||||
zoom = -1.25f;
|
zoom = -1.25f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue