mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-12 20:41:30 +00:00
19 lines
554 B
C#
19 lines
554 B
C#
|
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
|
||
|
{
|
||
|
struct UpdatePageTableGpuAddressCommand : IGALCommand
|
||
|
{
|
||
|
public CommandType CommandType => CommandType.UpdatePageTableGpuAddress;
|
||
|
private ulong _address;
|
||
|
|
||
|
public void Set(ulong address)
|
||
|
{
|
||
|
_address = address;
|
||
|
}
|
||
|
|
||
|
public static void Run(ref UpdatePageTableGpuAddressCommand command, ThreadedRenderer threaded, IRenderer renderer)
|
||
|
{
|
||
|
renderer.Pipeline.UpdatePageTableGpuAddress(command._address);
|
||
|
}
|
||
|
}
|
||
|
}
|