mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Fix offset in DxvkBuffer::subSlice
This commit is contained in:
parent
f88658d88c
commit
d8e31f221f
@ -382,7 +382,7 @@ namespace dxvk {
|
||||
* \returns The sub slice object
|
||||
*/
|
||||
DxvkBufferSlice subSlice(VkDeviceSize offset, VkDeviceSize length) const {
|
||||
return DxvkBufferSlice(m_buffer, offset, length);
|
||||
return DxvkBufferSlice(m_buffer, m_offset + offset, length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user