![]() This is a problem because Steam no longer supports XP or Vista. The recently released VK_EXT_host_image_copy extension aims to address these inefficiencies.Half-Life 2 is compatible with Windows XP and Vista, but all versions of the game (even hard copies) require Steam before they will run. Additionally, whenever the data is available or needed in host memory, a buffer↔image copy can incur penalties. There are, however, common scenarios where that is not true. These functions work well when the image data is available or needed in device memory and it is desirable to do the copy on the device timeline. However, the Vulkan implementation is capable of copying to and from these types of images with hardware-accelerated swizzling. What’s more, its device memory may not be host-mappable to begin with. These functions are essential as the physical layout of an image (otherwise known as memory swizzling) created with VK_IMAGE_TILING_OPTIMAL is opaque to the application, so it cannot meaningfully copy to and from such an image by mapping its device memory on the host. Vulkan already provides functions to copy between buffers and images through vkCmdCopyBufferToImage, vkCmdCopyImageToBuffer, and vkCmdCopyImage (later made extensible in VK_KHR_copy_commands2 and Vulkan 1.3). The Vulkan Working Group has released the VK_EXT_host_image_copy extension, allowing copies to and from images to be done on the host rather than the device.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |