mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 21:16:39 +00:00
19 lines
307 B
C#
19 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;
|
||
|
}
|
||
|
}
|
||
|
}
|