Alexandre Julliard pushed to branch master at wine / wine
Commits: fa1fed1d by Elizabeth Figura at 2025-02-05T14:18:28+01:00 d3d11/tests: Remove the workaround for RTVs in test_nv12().
And add a few more tests for valid views.
The assertion that Vulkan drivers don't support NV12 render targets was based on an incomplete understanding of the (rather complicated) spec. Support for plane views (the only type allowed in d3d11, as shown by tests added here) is indicated not through the feature flags for the multi-planar format, but through the feature flags for the view formats for each plane.
- - - - - 5a73a895 by Elizabeth Figura at 2025-02-05T14:18:28+01:00 wined3d: Use the correct pitch when downloading Vulkan textures.
Based on a patch by Giovanni Mascellani.
- - - - - b00c7619 by Elizabeth Figura at 2025-02-05T14:18:28+01:00 wined3d: Factor out a get_map_pitch() helper.
- - - - -
3 changed files:
- dlls/d3d11/tests/d3d11.c - dlls/wined3d/cs.c - dlls/wined3d/texture.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/98c4f697b7436759c8dcd25116bd00...