Clear cached converted buffers on signaled write

This commit is contained in:
Isaac Marovitz 2024-06-20 19:11:12 +01:00 committed by Evan Husted
parent 98ae46ba70
commit 3451fbbbad

View File

@ -67,11 +67,11 @@ namespace Ryujinx.Graphics.Metal
{
if (offset == 0 && size == Size)
{
// TODO: Cache converted buffers
_cachedConvertedBuffers.Clear();
}
else
{
// TODO: Cache converted buffers
_cachedConvertedBuffers.ClearRange(offset, size);
}
}