Implement Force Early Z Register (#1755)
This commit is contained in:
parent
e383c41b6e
commit
461c24092a
8 changed files with 60 additions and 2 deletions
|
@ -55,8 +55,8 @@ namespace Ryujinx.Graphics.Gpu.Shader.Cache.Definition
|
|||
public ushort Reserved2;
|
||||
|
||||
/// <summary>
|
||||
/// Unused/reserved.
|
||||
/// GPU boolean state that can influence shader compilation.
|
||||
/// </summary>
|
||||
public byte Reserved3;
|
||||
public GuestGpuStateFlags StateFlags;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader.Cache.Definition
|
||||
{
|
||||
[Flags]
|
||||
enum GuestGpuStateFlags : byte
|
||||
{
|
||||
EarlyZForce = 1 << 0
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue