diff options
author | Dennis Tsiang <dennis.tsiang@arm.com> | 2022-08-12 15:56:40 +0100 |
---|---|---|
committer | Dennis Tsiang <dennis.tsiang@arm.com> | 2022-08-15 14:58:25 +0100 |
commit | 128fafb08309764526c1fbb7ab220cec30461bd7 (patch) | |
tree | 9b50df2cf79d139c465a02f50ec9194e0caeaca8 | |
parent | e40628a135bd81f1c1559f16771c773e0d0ff873 (diff) | |
download | vulkan-wsi-layer-128fafb08309764526c1fbb7ab220cec30461bd7.tar.gz vulkan-wsi-layer-128fafb08309764526c1fbb7ab220cec30461bd7.tar.bz2 vulkan-wsi-layer-128fafb08309764526c1fbb7ab220cec30461bd7.zip |
Increase max swapchain image count
3 is not enough for performance testing. Let us double the maximum
number we can make.
Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Change-Id: I11a055ede33c9d10311109085e59d3f8c1fbcb7e
-rw-r--r-- | wsi/surface_properties.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsi/surface_properties.hpp b/wsi/surface_properties.hpp index af02b3c..5160c07 100644 --- a/wsi/surface_properties.hpp +++ b/wsi/surface_properties.hpp @@ -87,8 +87,8 @@ public: */ virtual bool is_surface_extension_enabled(const layer::instance_private_data &instance_data) = 0; - /* There is no maximum theoretically speaking however we choose 3 for practicality */ - static constexpr uint32_t MAX_SWAPCHAIN_IMAGE_COUNT = 3; + /* There is no maximum theoretically speaking however we choose 6 for practicality */ + static constexpr uint32_t MAX_SWAPCHAIN_IMAGE_COUNT = 6; }; |