Closed JosephClampett closed 5 years ago
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.DepthEndingAccess == b.DepthEndingAccess)) return false; if (!(a.StencilEndingAccess == b.StencilEndingAccess)) return false;
On line 2726 StencilBeginningAccess is incorrectly compared against DepthBeginningAccess.
StencilBeginningAccess
DepthBeginningAccess
This is a bug with the d3dx12.h header which is actually hosted on DirectX-Graphics-Samples. Looks like this was already fixed there in this commit, so I'll update my copies of it.
d3dx12.h
Fixed in this commit
On line 2726
StencilBeginningAccess
is incorrectly compared againstDepthBeginningAccess
.