mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 17:10:46 -07:00
Implement Force Early Z Register (#1755)
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user