Fix crash for calling vkGetPhysicalDeviceProperties2()
The crash in vkGetPhysicalDeviceProperties2() which is supported by Vulkan 1.1.0. The Vulkan loader may support 1.1.0, but the device may not support 1.1.0, so we need check device API version before calling it. Bug: 1158768 Change-Id: Ib306feda2c4b790ef06e5802e4777744bf1c4892 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593548 Commit-Queue: Peng Huang <penghuang@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#837122}
Showing
Please register or sign in to comment