]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/device_backend.cpp
Enable geometry shaders by default
[libs/gl.git] / source / backends / vulkan / device_backend.cpp
index b5d3db70548701d314a0b1239b829af9c0fd8faf..efdd596cdc873a1e3bcb02acb0263fe35e11de0e 100644 (file)
@@ -13,6 +13,7 @@ VulkanDevice::VulkanDevice(Graphics::Window &wnd, const Graphics::VulkanOptions
        functions(new VulkanFunctions(context)),
        allocator(*static_cast<Device *>(this)),
        destroy_queue(*static_cast<Device *>(this)),
+       synchronizer(*static_cast<Device *>(this)),
        transfer_queue(*static_cast<Device *>(this)),
        pipeline_cache(*static_cast<Device *>(this))
 { }
@@ -24,6 +25,7 @@ VulkanDevice::~VulkanDevice()
 Graphics::VulkanOptions VulkanDevice::create_default_options()
 {
        Graphics::VulkanOptions opts;
+       opts.enable_geometry_shader = true;
 #ifdef DEBUG
        opts.enable_validation = true;
        opts.enable_debug_report = true;