Workaround of pixel history crash with depth-only UAV writes

This commit is contained in:
baldurk committed 2025-05-01 10:36:07 +01:00
1 parent df08881ef2
commit f5506fcec3
1 file changed
+1
@@ -2059,6 +2059,7 @@ struct D3D12PixelHistoryPerFragmentCallback : D3D12PixelHistoryCallback
}
else
{
renderTargetIndex = D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT;
for(uint32_t i = 0; i < state.rts.size(); ++i)
{
ResourceId img = state.rts[i].GetResResourceId();