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
1 file changed