mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 10:24:12 +01:00
[dxvk] Make DxvkBuffer destructor explicit
Prevents compiler from inlining massive amounts of code where it's not needed. This is more consistent with the other classes as well.
This commit is contained in:
parent
da8274daaf
commit
387f41ede5
@ -21,6 +21,11 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
|
||||
DxvkBuffer::~DxvkBuffer() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
DxvkPhysicalBufferSlice DxvkBuffer::allocPhysicalSlice() {
|
||||
std::unique_lock<sync::Spinlock> freeLock(m_freeMutex);
|
||||
|
||||
|
@ -23,6 +23,8 @@ namespace dxvk {
|
||||
const DxvkBufferCreateInfo& createInfo,
|
||||
VkMemoryPropertyFlags memoryType);
|
||||
|
||||
~DxvkBuffer();
|
||||
|
||||
/**
|
||||
* \brief Buffer properties
|
||||
* \returns Buffer properties
|
||||
|
Loading…
Reference in New Issue
Block a user