Просмотр исходного кода

Update src/video_core/renderer_vulkan/vk_descriptor_pool.cpp

Co-Authored-By: Mat M. <mathew1800@gmail.com>
Rodrigo Locatti 6 лет назад
Родитель
Сommit
6e347d8d1b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/renderer_vulkan/vk_descriptor_pool.cpp

+ 1 - 1
src/video_core/renderer_vulkan/vk_descriptor_pool.cpp

@@ -14,7 +14,7 @@
 namespace Vulkan {
 namespace Vulkan {
 
 
 // Prefer small grow rates to avoid saturating the descriptor pool with barely used pipelines.
 // Prefer small grow rates to avoid saturating the descriptor pool with barely used pipelines.
-static constexpr std::size_t SETS_GROW_RATE = 0x20;
+constexpr std::size_t SETS_GROW_RATE = 0x20;
 
 
 DescriptorAllocator::DescriptorAllocator(VKDescriptorPool& descriptor_pool,
 DescriptorAllocator::DescriptorAllocator(VKDescriptorPool& descriptor_pool,
                                          vk::DescriptorSetLayout layout)
                                          vk::DescriptorSetLayout layout)