Implement Force Early Z Register (#1755)
This commit is contained in:
parent
e383c41b6e
commit
461c24092a
8 changed files with 60 additions and 2 deletions
|
@ -150,5 +150,14 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
|
||||
return textureDescriptor;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Queries if host state forces early depth testing.
|
||||
/// </summary>
|
||||
/// <returns>True if early depth testing is forced</returns>
|
||||
public bool QueryEarlyZForce()
|
||||
{
|
||||
return (_header.StateFlags & GuestGpuStateFlags.EarlyZForce) != 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue