commit | 8d5f887abab10432a40f0c1af6c912198cb10d18 | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Mon Oct 23 14:32:24 2023 -0700 |
committer | Yahan Zhou <yahan@google.com> | Mon Oct 23 16:21:30 2023 -0700 |
tree | d647b37c71bf6470a24298fd06f64c425d8da900 | |
parent | a8496131d7f150239ac053793b79463a4638cca3 [diff] |
VkImageCreateInfo should ignore queeu family indices in some situation The spec says indices pointer should be ignored when sharingMode is not VK_SHARING_MODE_CONCURRENT. We need to explicitly set index count to 0 and index pointer to null, otherwise encoder will still try to encode it. Spec: https://registry.khronos.org/vulkan/specs/1.3/html/vkspec.html#VUID-VkBufferCreateInfo-sharingMode-00913 Bug: 307378870 Test: dEQP-VK.wsi.android.swapchain.create.exclusive_nonzero_queues Change-Id: Ib131b075e277fb1cf71ba1e4c01a6adcc1a82d63 Merged-In: If0c1896c6acef97db9ec3ae3abfe88eea333b42f