mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 22:54:16 +01:00
[dxvk] Use new barrier helper in initSparseImage
This commit is contained in:
parent
9698653055
commit
e6c0903600
@ -1167,13 +1167,9 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Perform initial layout transition
|
// Perform initial layout transition
|
||||||
m_initBarriers.accessImage(image,
|
accessImage(DxvkCmdBuffer::InitBuffer,
|
||||||
image->getAvailableSubresources(),
|
*image, image->getAvailableSubresources(),
|
||||||
VK_IMAGE_LAYOUT_UNDEFINED,
|
VK_IMAGE_LAYOUT_UNDEFINED, VK_PIPELINE_STAGE_2_NONE, 0);
|
||||||
VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, 0,
|
|
||||||
image->info().layout,
|
|
||||||
image->info().stages,
|
|
||||||
image->info().access);
|
|
||||||
|
|
||||||
m_cmd->trackResource<DxvkAccess::Write>(image);
|
m_cmd->trackResource<DxvkAccess::Write>(image);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user