]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/device_backend.cpp
Add tessellation shader support to the engine
[libs/gl.git] / source / backends / vulkan / device_backend.cpp
index f1f2e3279160b209c1545df2279b91aa5ea2228c..6d8995807c842832e22dce16315ca80a0c8bd5fd 100644 (file)
@@ -1,5 +1,6 @@
 #include <cstdlib>
 #include <msp/graphics/vulkancontext_platform.h>
+#include <msp/strings/lexicalcast.h>
 #include "device.h"
 #include "device_backend.h"
 #include "vulkan.h"
@@ -30,6 +31,7 @@ Graphics::VulkanOptions VulkanDevice::create_default_options()
 {
        Graphics::VulkanOptions opts;
        opts.enable_geometry_shader = true;
+       opts.enable_tessellation_shader = true;
 #ifdef DEBUG
        const char *disable_ptr = getenv("MSPGL_DISABLE_VALIDATION");
        if(disable_ptr && *disable_ptr)