Textures : Increase the amount of VRAM Cache available for Textures based on selected DRAM. (#36)

This commit is contained in:
MaxLastBreath
2024-11-01 13:46:29 +02:00
committed by GitHub
parent fb4ab5ea08
commit 9305d171e7
5 changed files with 45 additions and 15 deletions

View File

@ -71,9 +71,10 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <summary>
/// Initializes the cache, setting the maximum texture capacity for the specified GPU context.
/// </summary>
public void Initialize()
/// <param name="cpuMemorySize">The amount of physical CPU Memory Avaiable on the device.</param>
public void Initialize(ulong cpuMemorySize)
{
_cache.Initialize(_context);
_cache.Initialize(_context, cpuMemorySize);
}
/// <summary>