commit | 9db48277ee9391124e1cddffdb843438a7788e50 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Fri Apr 01 15:43:10 2022 -0700 |
committer | Yilong Li <liyl@google.com> | Fri Apr 01 15:43:10 2022 -0700 |
tree | 71ea455b0dd7a93d9cda48976e5e980516eeae57 | |
parent | 1f82b47f38d91f16a572d087b3037423e6bd4bd2 [diff] |
fuchsia: Only call vkGetLinearImageLayout2 on linear image creation. This method will fail if the VkImageCreateInfo is not for creating linear images. We should only call it when tiling is VK_IMAGE_TILING_LINEAR. Test: workstation.x64 on host-gpu Bug: fxbug.dev/96654 Change-Id: Icdafd27a09116b69d8699ede770488d9870d3f51