mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-25 21:36:50 +01:00
18 lines
307 B
C#
18 lines
307 B
C#
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;
|
|
}
|
|
}
|
|
}
|