From: Mikko Rasa Date: Sun, 11 Sep 2022 17:28:38 +0000 (+0300) Subject: Restore limits.max_storage_texture_bindings in Vulkan backend X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9110d51e247bfeaedfc12d60f4714e5ff351e246;p=libs%2Fgl.git Restore limits.max_storage_texture_bindings in Vulkan backend Something funky happened with commits 569772f and 2a70fec, resulting in this getting removed. --- diff --git a/source/backends/vulkan/device_backend.cpp b/source/backends/vulkan/device_backend.cpp index 6d899580..d80afaab 100644 --- a/source/backends/vulkan/device_backend.cpp +++ b/source/backends/vulkan/device_backend.cpp @@ -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)