mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-23 19:54:16 +01:00
[dxvk] Track vertex buffer access
This commit is contained in:
parent
fdaa4f43f5
commit
f0c6e27938
@ -6352,6 +6352,11 @@ namespace dxvk {
|
||||
newDynamicStrides &= strides[i] >= m_state.vi.vertexExtents[i];
|
||||
}
|
||||
|
||||
if (unlikely(m_state.vi.vertexBuffers[binding].buffer()->hasGfxStores())) {
|
||||
accessBuffer(DxvkCmdBuffer::ExecBuffer, m_state.vi.vertexBuffers[binding],
|
||||
VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT);
|
||||
}
|
||||
|
||||
m_cmd->track(m_state.vi.vertexBuffers[binding].buffer(), DxvkAccess::Read);
|
||||
} else {
|
||||
buffers[i] = VK_NULL_HANDLE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user