Support depth clip mode and disable shader fast math optimization on NVIDIA as a workaround for compiler bugs (?)
This commit is contained in:
parent
17fb11ddb9
commit
7ce5584f9e
7 changed files with 55 additions and 4 deletions
8
Ryujinx.Graphics.GAL/DepthMode.cs
Normal file
8
Ryujinx.Graphics.GAL/DepthMode.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace Ryujinx.Graphics.GAL
|
||||
{
|
||||
public enum DepthMode
|
||||
{
|
||||
MinusOneToOne,
|
||||
ZeroToOne
|
||||
}
|
||||
}
|
|
@ -49,6 +49,8 @@ namespace Ryujinx.Graphics.GAL
|
|||
|
||||
void SetDepthBias(PolygonModeMask enables, float factor, float units, float clamp);
|
||||
|
||||
void SetDepthMode(DepthMode mode);
|
||||
|
||||
void SetDepthTest(DepthTestDescriptor depthTest);
|
||||
|
||||
void SetFaceCulling(bool enable, Face face);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue