wined3d: Sync depth stencils to both early and late depth test.
commit75e82b77aa1333057182d88fea47746f6d4f34c4
authorStefan Dösinger <stefan@codeweavers.com>
Mon, 27 Mar 2023 10:13:17 +0000 (27 13:13 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 19 Apr 2023 12:19:16 +0000 (19 14:19 +0200)
treee53b8113a79b6b92556f4e441537ab8c96e1cbd0
parent9e99c6f66d236101a084b6a3a24c98b5c8677fe5
wined3d: Sync depth stencils to both early and late depth test.

We don't know which test the next draw will use when we place the
barrier. We may be able to figure this out, but it is not trivial.

This avoids a read-after-write hazard after the next patch. The layout
transition from shader-read-only to depth stencil needs to be finished
before the early depth test in a follow-up draw if this draw uses early
depth.
dlls/wined3d/resource.c