mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-19 01:46:28 +00:00
Add GEqual Z-test option for pipeline backends
This commit is contained in:
@@ -720,6 +720,9 @@ class D3D12ShaderPipeline : public IShaderPipeline
|
||||
case ZTest::Greater:
|
||||
desc.DepthStencilState.DepthFunc = D3D12_COMPARISON_FUNC_LESS;
|
||||
break;
|
||||
case ZTest::GEqual:
|
||||
desc.DepthStencilState.DepthFunc = D3D12_COMPARISON_FUNC_LESS_EQUAL;
|
||||
break;
|
||||
case ZTest::Equal:
|
||||
desc.DepthStencilState.DepthFunc = D3D12_COMPARISON_FUNC_EQUAL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user