mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-25 08:20:05 +02:00
Implement texture buffers (#1152)
* Implement texture buffers * Throw NotSupportedException where appropriate
This commit is contained in:
@@ -295,7 +295,9 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
/// </summary>
|
||||
public void SynchronizeMemory()
|
||||
{
|
||||
if (_sequenceNumber == _context.SequenceNumber && _hasData)
|
||||
// Texture buffers are not handled here, instead they are invalidated (if modified)
|
||||
// when the texture is bound. This is handled by the buffer manager.
|
||||
if ((_sequenceNumber == _context.SequenceNumber && _hasData) || Info.Target == Target.TextureBuffer)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user