commit | 254fa267f9cce7f04c243aa139607b9c3e80e73c | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Thu May 19 00:10:51 2022 -0700 |
committer | Yilong Li <liyl@google.com> | Thu May 19 16:28:52 2022 -0700 |
tree | f5389495aad6811cd66e342b095c44271cfd170e | |
parent | e135221ec26533d7f00fe27d762511d2e72aab8f [diff] |
vulkan: Always send local copies of VkBufferCreateInfo to host VkBufferCreateInfo struct chain used in vkCreateBuffer() may carry guest-only structs that cannot be unmarshaled on host (e.g. VkBufferCollectionBufferCreateInfoFUCHSIA). Similar to vkCreateImage(), we should create local copies of VkBufferCreateInfo which only contains filtered pNext structs. Bug: fxbug.dev/93576 Test: vkext_buffer_collection on Fuchsia Change-Id: Id383d1b64bbafe8498dd02e2e55262352ed8078d