aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/SbDescriptor.cs
blob: 9723b71979a01dbb70e675da28d31093c9a7742e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Graphics.Gpu.State
{
    /// <summary>
    /// Storage buffer address and size information.
    /// </summary>
    struct SbDescriptor
    {
#pragma warning disable CS0649
        public uint AddressLow;
        public uint AddressHigh;
        public int Size;
        public int Padding;
#pragma warning restore CS0649

        public ulong PackAddress()
        {
            return AddressLow | ((ulong)AddressHigh << 32);
        }
    }
}