mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-05 19:46:15 +01:00
[d3d9] Fix barriers with staging buffers
This commit is contained in:
parent
bd68f05c9b
commit
10b174b52c
@ -4027,8 +4027,8 @@ namespace dxvk {
|
|||||||
info.stages = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT;
|
info.stages = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT;
|
||||||
} else {
|
} else {
|
||||||
info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT;
|
info.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT;
|
||||||
info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT;
|
info.stages = VK_PIPELINE_STAGE_TRANSFER_BIT | VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT;
|
||||||
info.access = VK_ACCESS_TRANSFER_READ_BIT;
|
info.access = VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_SHADER_READ_BIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
D3D9BufferSlice result;
|
D3D9BufferSlice result;
|
||||||
|
Loading…
Reference in New Issue
Block a user