From ab00693caa352d373840c2d20bcb3d3ff8a4ac76 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 26 Apr 2019 23:40:49 -0700 Subject: [PATCH] d3dx12.h fix for render pass depth/stencil comparision operator --- Kits/ATGTK/d3dx12.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kits/ATGTK/d3dx12.h b/Kits/ATGTK/d3dx12.h index dd6779cf..d0e94645 100644 --- a/Kits/ATGTK/d3dx12.h +++ b/Kits/ATGTK/d3dx12.h @@ -2723,7 +2723,7 @@ inline bool operator==( const D3D12_RENDER_PASS_DEPTH_STENCIL_DESC &a, const D3D { if (a.cpuDescriptor.ptr != b.cpuDescriptor.ptr) return false; if (!(a.DepthBeginningAccess == b.DepthBeginningAccess)) return false; - if (!(a.StencilBeginningAccess == b.DepthBeginningAccess)) return false; + if (!(a.StencilBeginningAccess == b.StencilBeginningAccess)) return false; if (!(a.DepthEndingAccess == b.DepthEndingAccess)) return false; if (!(a.StencilEndingAccess == b.StencilEndingAccess)) return false; return true;