diff --git a/src/d3d11/d3d11_depth_stencil.cpp b/src/d3d11/d3d11_depth_stencil.cpp index 829aae3b..7be5c5db 100644 --- a/src/d3d11/d3d11_depth_stencil.cpp +++ b/src/d3d11/d3d11_depth_stencil.cpp @@ -18,7 +18,7 @@ namespace dxvk { m_state.depthBoundsMax = 1.0f; if (desc.DepthEnable) - DecodeCompareOp(desc.DepthFunc); + m_state.depthCompareOp = DecodeCompareOp(desc.DepthFunc); } diff --git a/src/d3d11/meson.build b/src/d3d11/meson.build index 1a6d7a78..8a739031 100644 --- a/src/d3d11/meson.build +++ b/src/d3d11/meson.build @@ -1,6 +1,7 @@ d3d11_src = [ 'd3d11_blend.cpp', 'd3d11_buffer.cpp', + 'd3d11_class_linkage.cpp', 'd3d11_context.cpp', 'd3d11_depth_stencil.cpp', 'd3d11_device.cpp',