Clear cached converted buffers on signaled write

This commit is contained in:
Isaac Marovitz 2024-06-20 19:11:12 +01:00 committed by Isaac Marovitz
parent 2c511cdf4f
commit 84f3b4a3e1

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);
}
}