mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
Revert "[d3d9] Only use DEVICE_LOCAL memory for small dynamic buffers"
This reverts commit f3a82a0bcc427394ab86b6a646c9a5487afcbcfc. Apparently this makes other games slower. We need a different solution for TR: Legend.
This commit is contained in:
parent
65635b23c1
commit
4b6632764f
@ -94,10 +94,8 @@ namespace dxvk {
|
||||
info.access |= VK_ACCESS_HOST_READ_BIT;
|
||||
|
||||
memoryFlags |= VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
|
||||
| VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
|
||||
|
||||
if (m_desc.Size <= DeviceLocalThreshold)
|
||||
memoryFlags |= VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
|
||||
| VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
|
||||
| VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
|
||||
}
|
||||
else {
|
||||
info.stages |= VK_PIPELINE_STAGE_TRANSFER_BIT;
|
||||
|
@ -68,7 +68,6 @@ namespace dxvk {
|
||||
|
||||
class D3D9CommonBuffer {
|
||||
static constexpr VkDeviceSize BufferSliceAlignment = 64;
|
||||
static constexpr VkDeviceSize DeviceLocalThreshold = 4096;
|
||||
public:
|
||||
|
||||
D3D9CommonBuffer(
|
||||
|
Loading…
x
Reference in New Issue
Block a user