crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
927 stars 83 forks source link

Validate depth formats on use with CopyRects #180

Closed WinterSnowfall closed 1 month ago

WinterSnowfall commented 2 months ago

The D3D8 specs also say, with regards to CopyRects:

This method cannot be applied to surfaces whose formats are classified as depth stencil formats.

I have checked this claim against native drivers and they do indeed validate it.