Remove comment per code review feedback
This commit is contained in:
parent
ea507ddf77
commit
2c05f4d8fc
|
@ -80,7 +80,6 @@ namespace d3d12 {
|
||||||
DepthStencilState::DepthStencilState(Device* device, DepthStencilStateBuilder* builder)
|
DepthStencilState::DepthStencilState(Device* device, DepthStencilStateBuilder* builder)
|
||||||
: DepthStencilStateBase(builder), device(device) {
|
: DepthStencilStateBase(builder), device(device) {
|
||||||
|
|
||||||
// If you have anything other than Never, then enable depth testing
|
|
||||||
depthStencilDescriptor.DepthEnable = TRUE;
|
depthStencilDescriptor.DepthEnable = TRUE;
|
||||||
depthStencilDescriptor.DepthWriteMask = GetDepth().depthWriteEnabled ? D3D12_DEPTH_WRITE_MASK_ALL : D3D12_DEPTH_WRITE_MASK_ZERO;
|
depthStencilDescriptor.DepthWriteMask = GetDepth().depthWriteEnabled ? D3D12_DEPTH_WRITE_MASK_ALL : D3D12_DEPTH_WRITE_MASK_ZERO;
|
||||||
depthStencilDescriptor.DepthFunc = ComparisonFunc(GetDepth().compareFunction);
|
depthStencilDescriptor.DepthFunc = ComparisonFunc(GetDepth().compareFunction);
|
||||||
|
|
Loading…
Reference in New Issue