From 9110d51e247bfeaedfc12d60f4714e5ff351e246 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 11 Sep 2022 20:28:38 +0300 Subject: [PATCH] Restore limits.max_storage_texture_bindings in Vulkan backend Something funky happened with commits 569772f and 2a70fec, resulting in this getting removed. --- source/backends/vulkan/device_backend.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- 2.43.0