mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 07:24:12 +01:00
[dxvk] Fixed incorrect buffer create info
This commit is contained in:
parent
52e8918b57
commit
cea86472bf
@ -57,7 +57,7 @@ namespace dxvk {
|
|||||||
|
|
||||||
|
|
||||||
Rc<DxvkPhysicalBuffer> DxvkBuffer::allocPhysicalBuffer(VkDeviceSize sliceCount) const {
|
Rc<DxvkPhysicalBuffer> DxvkBuffer::allocPhysicalBuffer(VkDeviceSize sliceCount) const {
|
||||||
DxvkBufferCreateInfo createInfo;
|
DxvkBufferCreateInfo createInfo = m_info;
|
||||||
createInfo.size = sliceCount * m_physSliceStride;
|
createInfo.size = sliceCount * m_physSliceStride;
|
||||||
|
|
||||||
return m_device->allocPhysicalBuffer(createInfo, m_memFlags);
|
return m_device->allocPhysicalBuffer(createInfo, m_memFlags);
|
||||||
|
Loading…
Reference in New Issue
Block a user