X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fdevice_backend.cpp;h=6d8995807c842832e22dce16315ca80a0c8bd5fd;hb=9eb9f592d37e9a1e05c2ff70887a1c5f26b98864;hp=8e3f2ab621a9acc55823d2f0c2ea22b4331a082a;hpb=569772f5aba5380a48002cd73b8d33eb25fd4048;p=libs%2Fgl.git diff --git a/source/backends/vulkan/device_backend.cpp b/source/backends/vulkan/device_backend.cpp index 8e3f2ab6..6d899580 100644 --- a/source/backends/vulkan/device_backend.cpp +++ b/source/backends/vulkan/device_backend.cpp @@ -31,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) @@ -56,7 +57,6 @@ void VulkanDevice::fill_info() limits.max_clip_planes = props.limits.maxClipDistances; limits.max_vertex_attributes = props.limits.maxVertexInputAttributes; limits.max_texture_bindings = props.limits.maxDescriptorSetSampledImages; - limits.max_storage_texture_bindings = props.limits.maxDescriptorSetStorageImages; limits.max_color_attachments = props.limits.maxColorAttachments; unsigned samples = props.limits.framebufferColorSampleCounts&props.limits.framebufferDepthSampleCounts&props.limits.framebufferStencilSampleCounts; if(samples&VK_SAMPLE_COUNT_64_BIT)