2019-12-29 18:41:50 +01:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
2019-10-13 08:02:07 +02:00
|
|
|
{
|
|
|
|
public struct DepthTestDescriptor
|
|
|
|
{
|
|
|
|
public bool TestEnable { get; }
|
|
|
|
public bool WriteEnable { get; }
|
|
|
|
|
|
|
|
public CompareOp Func { get; }
|
|
|
|
|
|
|
|
public DepthTestDescriptor(
|
|
|
|
bool testEnable,
|
|
|
|
bool writeEnable,
|
|
|
|
CompareOp func)
|
|
|
|
{
|
|
|
|
TestEnable = testEnable;
|
|
|
|
WriteEnable = writeEnable;
|
|
|
|
Func = func;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|