GpuVa.cs 307 B

123456789101112131415161718
  1. namespace Ryujinx.Graphics.Gpu.State
  2. {
  3. struct GpuVa
  4. {
  5. public uint High;
  6. public uint Low;
  7. public ulong Pack()
  8. {
  9. return Low | ((ulong)High << 32);
  10. }
  11. public bool IsNullPtr()
  12. {
  13. return (Low | High) == 0;
  14. }
  15. }
  16. }