mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 19:58:57 +02:00
Increase texture cache limit to 6 GB
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
private const int MinCountForDeletion = 32;
|
private const int MinCountForDeletion = 32;
|
||||||
private const int MaxCapacity = 2048;
|
private const int MaxCapacity = 2048;
|
||||||
private const ulong MinTextureSizeCapacity = 512 * 1024 * 1024;
|
private const ulong MinTextureSizeCapacity = 512 * 1024 * 1024;
|
||||||
private const ulong MaxTextureSizeCapacity = 4UL * 1024 * 1024 * 1024;
|
private const ulong MaxTextureSizeCapacity = 6UL * 1024 * 1024 * 1024;
|
||||||
private const ulong DefaultTextureSizeCapacity = 1UL * 1024 * 1024 * 1024;
|
private const ulong DefaultTextureSizeCapacity = 1UL * 1024 * 1024 * 1024;
|
||||||
private const float MemoryScaleFactor = 0.50f;
|
private const float MemoryScaleFactor = 0.50f;
|
||||||
private ulong _maxCacheMemoryUsage = 0;
|
private ulong _maxCacheMemoryUsage = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user