Skip to content

d3d12: prevent copying past end of source

Erik Faye-Lund requested to merge d3d12-clamp-blit into msclc-d3d12

It seems the state-tracker happily tries to copy outside the source-texure like this, so let's detect it and clamp the region.

Ideally, this should be solved in the state-tracker instead in the long run, but this prevents a crash in the CTS, so...

Merge request reports