mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-30 20:52:11 +01:00
[d3d9] Set correct usage flags for large temporary staging buffers
This commit is contained in:
parent
fa279eb8ad
commit
6ba3d2f9d4
@ -3919,7 +3919,7 @@ namespace dxvk {
|
|||||||
| VK_ACCESS_INDEX_READ_BIT;
|
| VK_ACCESS_INDEX_READ_BIT;
|
||||||
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;
|
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;
|
||||||
info.access = VK_ACCESS_TRANSFER_READ_BIT;
|
info.access = VK_ACCESS_TRANSFER_READ_BIT;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user