]> git.tdb.fi Git - libs/gl.git/commitdiff
Restore limits.max_storage_texture_bindings in Vulkan backend
authorMikko Rasa <tdb@tdb.fi>
Sun, 11 Sep 2022 17:28:38 +0000 (20:28 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 11 Sep 2022 17:28:38 +0000 (20:28 +0300)
Something funky happened with commits 569772f and 2a70fec, resulting in
this getting removed.

source/backends/vulkan/device_backend.cpp

index 6d8995807c842832e22dce16315ca80a0c8bd5fd..d80afaab5d4975ee062ee6ea25c09d34cac206a2 100644 (file)
@@ -57,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)