SbDescriptor.cs
1 namespace Ryujinx.Graphics.Gpu.Engine.Types 2 { 3 /// <summary> 4 /// Storage buffer address and size information. 5 /// </summary> 6 struct SbDescriptor 7 { 8 #pragma warning disable CS0649 // Field is never assigned to 9 public uint AddressLow; 10 public uint AddressHigh; 11 public int Size; 12 public int Padding; 13 #pragma warning restore CS0649 14 15 public readonly ulong PackAddress() 16 { 17 return AddressLow | ((ulong)AddressHigh << 32); 18 } 19 } 20 }