mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 17:27:09 +02:00
Implement Force Early Z Register (#1755)
This commit is contained in:
parent
a0269e1d4d
commit
0d6699f375
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