diff options
| author | Matthew Parlane <parlane@gmail.com> | 2016-05-10 21:34:27 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2016-05-10 21:34:27 +1200 |
| commit | bb6a04dc8ee7454d3f85b53f009cb9d9afa6ccda (patch) | |
| tree | 3dfaba23f38401709460917d5b721ed1774f1c0b /Source/Core/VideoBackends/D3D12/D3DState.cpp | |
| parent | 7fdf0c7b03869c908e28816ee6691535973f5e30 (diff) | |
| parent | ccf9470241309114bdc46d9dc80bb9b99aed4a41 (diff) | |
Merge pull request #3713 from stenzek/d3d12-more-fixes
D3D12: Bug fixes, implement bbox, realxfb, perfquery
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/D3DState.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D12/D3DState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D12/D3DState.cpp b/Source/Core/VideoBackends/D3D12/D3DState.cpp index 9da11541cc..ffe1e573e5 100644 --- a/Source/Core/VideoBackends/D3D12/D3DState.cpp +++ b/Source/Core/VideoBackends/D3D12/D3DState.cpp @@ -343,8 +343,8 @@ inline D3D12_DEPTH_STENCIL_DESC StateCache::GetDesc12(ZMode state) D3D12_DEPTH_STENCIL_DESC depthdc; depthdc.StencilEnable = FALSE; - depthdc.StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK; - depthdc.StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK; + depthdc.StencilReadMask = D3D12_DEFAULT_STENCIL_READ_MASK; + depthdc.StencilWriteMask = D3D12_DEFAULT_STENCIL_WRITE_MASK; D3D12_DEPTH_STENCILOP_DESC defaultStencilOp = { D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_STENCIL_OP_KEEP, D3D12_COMPARISON_FUNC_ALWAYS }; depthdc.FrontFace = defaultStencilOp; |
