mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Replace buffer in updateBuffer even outside of render passes
Needed to avoid barriers arount D3D11 UAV counter buffer updates.
This commit is contained in:
parent
d1e9e1392d
commit
5b66f1ec0b
@ -1832,8 +1832,7 @@ namespace dxvk {
|
||||
VkDeviceSize size,
|
||||
const void* data) {
|
||||
bool replaceBuffer = (size == buffer->info().size)
|
||||
&& (size <= (1 << 20)) /* 1 MB */
|
||||
&& (m_flags.test(DxvkContextFlag::GpRenderPassBound));
|
||||
&& (size <= (1 << 20)); /* 1 MB */
|
||||
|
||||
DxvkBufferSliceHandle bufferSlice;
|
||||
DxvkCmdBuffer cmdBuffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user