]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/device_backend.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / backends / vulkan / device_backend.cpp
index 9a8b930d713f6d100f3351a0a91040232c3f19f7..d80afaab5d4975ee062ee6ea25c09d34cac206a2 100644 (file)
@@ -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,6 +57,7 @@ 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)