mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[dxvk] Remove needless refcount in updateTransformFeedbackBuffers
This commit is contained in:
parent
4edaade185
commit
a35f2af5e5
@ -4729,7 +4729,7 @@ namespace dxvk {
|
||||
xfbBuffers[i] = m_common->dummyResources().bufferHandle();
|
||||
|
||||
if (physSlice.handle != VK_NULL_HANDLE) {
|
||||
auto buffer = m_state.xfb.buffers[i].buffer();
|
||||
const Rc<DxvkBuffer>& buffer = m_state.xfb.buffers[i].buffer();
|
||||
buffer->setXfbVertexStride(gsOptions.xfbStrides[i]);
|
||||
|
||||
m_cmd->trackResource<DxvkAccess::Write>(buffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user