mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 09:20:13 +00:00
Workaround of pixel history crash with depth-only UAV writes
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user