mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-14 07:36:26 +00:00
Add GEqual Z-test option for pipeline backends
This commit is contained in:
@@ -564,6 +564,9 @@ class D3D11ShaderPipeline : public IShaderPipeline
|
||||
case ZTest::Greater:
|
||||
dsDesc.DepthFunc = D3D11_COMPARISON_LESS;
|
||||
break;
|
||||
case ZTest::GEqual:
|
||||
dsDesc.DepthFunc = D3D11_COMPARISON_LESS_EQUAL;
|
||||
break;
|
||||
case ZTest::Equal:
|
||||
dsDesc.DepthFunc = D3D11_COMPARISON_EQUAL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user