mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 04:54:15 +01:00
[dxvk] Use new barrier helpers in transformImage
This commit is contained in:
parent
7edfad763a
commit
a1a9cd5bb6
@ -1698,16 +1698,12 @@ namespace dxvk {
|
||||
this->spillRenderPass(false);
|
||||
|
||||
if (srcLayout != dstLayout) {
|
||||
m_execBarriers.recordCommands(m_cmd);
|
||||
flushPendingAccesses(*dstImage, dstSubresources, DxvkAccess::Write);
|
||||
|
||||
m_execBarriers.accessImage(
|
||||
dstImage, dstSubresources,
|
||||
srcLayout,
|
||||
dstImage->info().stages,
|
||||
dstImage->info().access,
|
||||
dstLayout,
|
||||
dstImage->info().stages,
|
||||
dstImage->info().access);
|
||||
accessImage(DxvkCmdBuffer::ExecBuffer,
|
||||
*dstImage, dstSubresources,
|
||||
srcLayout, dstImage->info().stages, dstImage->info().access,
|
||||
dstLayout, dstImage->info().stages, dstImage->info().access);
|
||||
|
||||
m_cmd->trackResource<DxvkAccess::Write>(dstImage);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user