aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/SemaphoreState.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-05-29 05:51:10 -0300
committerGitHub <noreply@github.com>2020-05-29 10:51:10 +0200
commit44d7fcff399888d311f61772a53146d924ee5b62 (patch)
treeb79faa532e47b3a4e688939691e5cbf4b6efd21f /Ryujinx.Graphics.Gpu/State/SemaphoreState.cs
parent12cfaf56f083cdf250381c3525eaf4ecf5ee9257 (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.cs14
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
+ }
+}