mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-20 08:52:22 +01:00
[dxvk] Actually flush layout transition in clearImageViewCs
Fixes 2864a5e474a2b4ef46ba058106885e36f2ebbfb8.
This commit is contained in:
parent
f8b9efd11e
commit
bdec26b442
@ -3422,6 +3422,7 @@ namespace dxvk {
|
||||
addImageLayoutTransition(*imageView->image(), imageView->imageSubresources(),
|
||||
VK_IMAGE_LAYOUT_GENERAL, VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT, VK_ACCESS_2_SHADER_WRITE_BIT,
|
||||
imageView->image()->isFullSubresource(vk::pickSubresourceLayers(imageView->imageSubresources(), 0), extent));
|
||||
flushImageLayoutTransitions(DxvkCmdBuffer::ExecBuffer);
|
||||
|
||||
// Query pipeline objects to use for this clear operation
|
||||
DxvkMetaClearPipeline pipeInfo = m_common->metaClear().getClearImagePipeline(
|
||||
|
Loading…
x
Reference in New Issue
Block a user