Implement FIFO semaphore (#1286)
* Implement FIFO semaphore * New enum for FIFO semaphore operation
This commit is contained in:
parent
12cfaf56f0
commit
44d7fcff39
7 changed files with 50 additions and 14 deletions
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;
|
Loading…
Add table
Add a link
Reference in a new issue