2019-12-29 12:41:50 -05:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
2019-10-13 02:02:07 -04: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|