[d3d9] Fix barriers with staging buffers

This commit is contained in:
Robin Kertels 2022-07-12 21:17:52 +02:00 committed by Joshie
parent bd68f05c9b
commit 10b174b52c
1 changed files with 2 additions and 2 deletions

View File

@ -4027,8 +4027,8 @@ namespace dxvk {
info.stages = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT;
} else {
info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT;
info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT;
info.access = VK_ACCESS_TRANSFER_READ_BIT;
info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT;
info.access = VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_SHADER_READ_BIT;
}
D3D9BufferSlice result;