dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

[d3d9] Handle remaining edge cases of Discard & Lockable

Open K0bin opened this issue 1 year ago • 1 comments

A bunch of edge cases we weren't handling properly. This is gonna need some testing.

In theory we could also use VK_STORE_OP_DONT_CARE for discardable depth stencil surfaces but I don't think that's worth the additional complexity. Tracking the load op is already a bit of a mess. Games don't really use discardable depth stencil surfaces all that much and it would only help tilers anyway as far as I know.

K0bin avatar Jul 30 '24 08:07 K0bin

Tested with 9 random d3d9 games of varied engines so far, not seen any issues. Tested on Nvidia.

Blisto91 avatar Aug 02 '24 08:08 Blisto91

Looks fine

misyltoad avatar Sep 04 '24 22:09 misyltoad