Implement FIFO semaphore (#1286)
* Implement FIFO semaphore * New enum for FIFO semaphore operation
This commit is contained in:
9
Ryujinx.Graphics.Gpu/State/FifoSemaphoreOperation.cs
Normal file
9
Ryujinx.Graphics.Gpu/State/FifoSemaphoreOperation.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
enum FifoSemaphoreOperation
|
||||
{
|
||||
Counter = 0,
|
||||
Acquire = 1,
|
||||
Release = 2
|
||||
}
|
||||
}
|
@@ -8,7 +8,8 @@ namespace Ryujinx.Graphics.Gpu.State
|
||||
/// </remarks>
|
||||
enum MethodOffset
|
||||
{
|
||||
BindChannel = 0x00,
|
||||
BindChannel = 0x0,
|
||||
Semaphore = 0x4,
|
||||
FenceValue = 0x1c,
|
||||
FenceAction = 0x1d,
|
||||
WaitForIdle = 0x44,
|
||||
|
@@ -1,9 +1,9 @@
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
/// <summary>
|
||||
/// GPU counter report mode.
|
||||
/// GPU semaphore operation.
|
||||
/// </summary>
|
||||
enum ReportMode
|
||||
enum SemaphoreOperation
|
||||
{
|
||||
Release = 0,
|
||||
Acquire = 1,
|
@@ -1,9 +1,9 @@
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
/// <summary>
|
||||
/// GPU counter report state.
|
||||
/// GPU semaphore state.
|
||||
/// </summary>
|
||||
struct ReportState
|
||||
struct SemaphoreState
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
public GpuVa Address;
|
Reference in New Issue
Block a user