Initial work
This commit is contained in:
parent
f617fb542a
commit
1876b346fe
518 changed files with 15170 additions and 12486 deletions
18
Ryujinx.Graphics.Gpu/State/GpuVa.cs
Normal file
18
Ryujinx.Graphics.Gpu/State/GpuVa.cs
Normal file
|
@ -0,0 +1,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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue