1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[d3d9] Mark backend image as shared for shared resources

Otherwise, the backend may not transition the image to the correct
layout after each submission.
This commit is contained in:
Philip Rebohle 2022-03-13 02:32:56 +01:00
parent bd1a2aa5a1
commit caa83247d9
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -249,6 +249,7 @@ namespace dxvk {
: DxvkSharedHandleMode::Import;
imageInfo.sharing.type = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT;
imageInfo.sharing.handle = *pSharedHandle;
imageInfo.shared = true;
// TODO: validate metadata?
}