mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxvk] Add shared flag to images
Indicates that images can be accessed by more than one context internally, or through the interop interfaces without explicit image layout transitions.
This commit is contained in:
parent
6efc2588f8
commit
6564895a32
@ -57,6 +57,10 @@ namespace dxvk {
|
||||
// Initial image layout
|
||||
VkImageLayout initialLayout = VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
|
||||
// Image is used by multiple contexts so it needs
|
||||
// to be in its default layout after each submission
|
||||
VkBool32 shared = VK_FALSE;
|
||||
|
||||
// Image view formats that can
|
||||
// be used with this image
|
||||
uint32_t viewFormatCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user