Remove comment per code review feedback

This commit is contained in:
Ben Constable 2017-08-01 14:54:33 -07:00 committed by Corentin Wallez
parent ea507ddf77
commit 2c05f4d8fc
1 changed files with 0 additions and 1 deletions

View File

@ -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);