diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-05-29 05:51:10 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 10:51:10 +0200 |
| commit | 44d7fcff399888d311f61772a53146d924ee5b62 (patch) | |
| tree | b79faa532e47b3a4e688939691e5cbf4b6efd21f /Ryujinx.Graphics.Gpu/State/SemaphoreState.cs | |
| parent | 12cfaf56f083cdf250381c3525eaf4ecf5ee9257 (diff) | |
Implement FIFO semaphore (#1286)
* Implement FIFO semaphore
* New enum for FIFO semaphore operation
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State/SemaphoreState.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/SemaphoreState.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/SemaphoreState.cs b/Ryujinx.Graphics.Gpu/State/SemaphoreState.cs new file mode 100644 index 00000000..bfc5720a --- /dev/null +++ b/Ryujinx.Graphics.Gpu/State/SemaphoreState.cs @@ -0,0 +1,14 @@ +namespace Ryujinx.Graphics.Gpu.State +{ + /// <summary> + /// GPU semaphore state. + /// </summary> + struct SemaphoreState + { +#pragma warning disable CS0649 + public GpuVa Address; + public int Payload; + public uint Control; +#pragma warning restore CS0649 + } +} |
