Enabled required features for terrain tessellation example, recompiled tessellation shaders with recent glslang compiler
This commit is contained in:
parent
00ed23db98
commit
a872fafe4e
3 changed files with 9 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -112,6 +112,15 @@ public:
|
|||
// View frustum passed to tessellation control shader for culling
|
||||
vkTools::Frustum frustum;
|
||||
|
||||
// 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)
|
||||
{
|
||||
enableTextOverlay = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue