commit | 8e951d52c90edc4765221471dd7e49db981fb96c | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Thu Apr 12 13:19:46 2018 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Thu Apr 12 13:19:46 2018 -0700 |
tree | 972446a189f7eab09244d23b862b779fe6c1e6ab | |
parent | 0c7c5d6c512c3e80da549ef1fd9567f5bd235868 [diff] |
swapchain: add a case for minImageCount in capabilities When creating a swapchain around a single-buffered SurfaceTexture, the VkSurfaceCapabilitiesKHR structure obtained was giving a minImageCount of 2 and a maxImageCount of 1, which should both be 1 in this case. Test: create a swapchain around a single-buffered SurfaceTexture should give back 1 as minImageCount from VkSurfaceCapabilitiesKHR Bug: b/77825831 Change-Id: Ic42c29a93c6e9c818dbf735be5ce10b58cdb44d9