d4187aaa9d
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
32 lines
No EOL
954 B
C#
32 lines
No EOL
954 B
C#
using Ryujinx.Graphics.Gal;
|
|
|
|
namespace Ryujinx.Graphics
|
|
{
|
|
public class NvGpu
|
|
{
|
|
public IGalRenderer Renderer { get; private set; }
|
|
|
|
public GpuResourceManager ResourceManager { get; private set; }
|
|
|
|
public NvGpuFifo Fifo { get; private set; }
|
|
|
|
internal NvGpuEngine2d Engine2d { get; private set; }
|
|
internal NvGpuEngine3d Engine3d { get; private set; }
|
|
internal NvGpuEngineM2mf EngineM2mf { get; private set; }
|
|
internal NvGpuEngineP2mf EngineP2mf { get; private set; }
|
|
|
|
public NvGpu(IGalRenderer Renderer)
|
|
{
|
|
this.Renderer = Renderer;
|
|
|
|
ResourceManager = new GpuResourceManager(this);
|
|
|
|
Fifo = new NvGpuFifo(this);
|
|
|
|
Engine2d = new NvGpuEngine2d(this);
|
|
Engine3d = new NvGpuEngine3d(this);
|
|
EngineM2mf = new NvGpuEngineM2mf(this);
|
|
EngineP2mf = new NvGpuEngineP2mf(this);
|
|
}
|
|
}
|
|
} |