Add depth range support on the GPU (#472)
* Add depth range support on the GPU * Address PR feedback
This commit is contained in:
parent
e674b37710
commit
044b84b078
4 changed files with 35 additions and 20 deletions
|
@ -371,6 +371,9 @@ namespace Ryujinx.Graphics
|
|||
{
|
||||
State.DepthFunc = (GalComparisonOp)ReadRegister(NvGpuEngine3dReg.DepthTestFunction);
|
||||
}
|
||||
|
||||
State.DepthRangeNear = ReadRegisterFloat(NvGpuEngine3dReg.DepthRangeNNear);
|
||||
State.DepthRangeFar = ReadRegisterFloat(NvGpuEngine3dReg.DepthRangeNFar);
|
||||
}
|
||||
|
||||
private void SetStencil(GalPipelineState State)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue