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:
parent
bd1a2aa5a1
commit
caa83247d9
@ -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?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user