commit | d4c179409e895c7c1794c179e39828ad9407fae0 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Sat Sep 24 00:18:54 2022 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 27 09:14:40 2022 +0000 |
tree | dd267fb458436530b39314665f1ee629290b4022 | |
parent | ee706cc9a8b65734d4c30315544b8677d4f1b1d2 [diff] |
UPSTREAM: venus: fix VkImageFormatListCreateInfo for AHB In vn_physical_device_fix_image_format_info, local_info->list.viewFormatCount is unintialized when has_format_list is false. We need to check has_format_list first. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18792> (cherry picked from commit ee2e01c0ef5f823399dfd295110019aa5e2dd675) BUG=b:248761458 TEST=cts-tradefed Change-Id: I5250185b6915dc534761979e2e827b7fe5c44709 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3917315 Tested-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olv@google.com> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>