mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[dxvk] Don't stall SDMA command buffer for image initialization
This commit is contained in:
parent
4fafeb21d0
commit
7239066c5c
@ -2090,8 +2090,7 @@ namespace dxvk {
|
||||
// Discard previous subresource contents
|
||||
m_sdmaAcquires.accessImage(image,
|
||||
vk::makeSubresourceRange(subresources),
|
||||
VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
VK_PIPELINE_STAGE_TRANSFER_BIT, 0,
|
||||
VK_IMAGE_LAYOUT_UNDEFINED, 0, 0,
|
||||
image->pickLayout(VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL),
|
||||
VK_PIPELINE_STAGE_TRANSFER_BIT,
|
||||
VK_ACCESS_TRANSFER_WRITE_BIT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user