mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-07 02:38:29 +02:00
Initial work
This commit is contained in:
18
Ryujinx.Graphics.Gpu/State/GpuVa.cs
Normal file
18
Ryujinx.Graphics.Gpu/State/GpuVa.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
struct GpuVa
|
||||
{
|
||||
public uint High;
|
||||
public uint Low;
|
||||
|
||||
public ulong Pack()
|
||||
{
|
||||
return Low | ((ulong)High << 32);
|
||||
}
|
||||
|
||||
public bool IsNullPtr()
|
||||
{
|
||||
return (Low | High) == 0;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user