aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/GpuVa.cs
blob: 01ad70b7c1766c366427848d8ec628d1c3222fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
        }
    }
}