vulkan: avoid validation errors.
There are many errors like: Validation Error: [ UNASSIGNED-GeneralParameterError-ExtensionNotEnabled ] Object 0: handle = 0x395107e6050, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xe92b452d | vkQueuePresentKHR() called even though the VK_KHR_incremental_present extension was not enabled. Suppose vulkan should ignore unsupported or not enabled structures in structures chain, but vulkan validation reports it. It is annoying. So fix it by not passing unsupported VkPresentRegionsKHR in VkPresentInfoKHR. Bug: None Change-Id: I7cfff50ccc3f42a08a5b0ade481e297f129f6e94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2305512 Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#789948}
Showing
Please register or sign in to comment