Alexandre Julliard pushed to branch master at wine / wine
Commits: dd3d180e by Elizabeth Figura at 2025-02-19T22:42:08+01:00 wined3d: Introduce initial support for Direct3D 10+ 2-plane formats.
Some 2-plane formats are already supported by GL using the "height-scale" mechanism. This introduces support for true 2-plane formats, as exposed by Direct3D 10+, which can be bound as shader views by selecting individual planes.
The mechanism uses an attribute WINED3D_FORMAT_ATTR_PLANAR, which needs special handling for blits (and uploads and downloads). This commit introduces that attribute and implements basic handling for maps and uploads.
- - - - - 8c82d854 by Elizabeth Figura at 2025-02-19T22:42:08+01:00 wined3d: Forbid creating unaligned planar textures.
- - - - - 6bc747b7 by Elizabeth Figura at 2025-02-19T22:42:08+01:00 wined3d: Forbid unaligned blits for planar textures.
- - - - - 4caa93a3 by Elizabeth Figura at 2025-02-19T22:42:08+01:00 wined3d: Implement creating views of planar resources.
- - - - -
7 changed files:
- dlls/wined3d/cs.c - dlls/wined3d/device.c - dlls/wined3d/resource.c - dlls/wined3d/texture.c - dlls/wined3d/utils.c - dlls/wined3d/view.c - dlls/wined3d/wined3d_private.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/a4bdd49ae702baed826b903ac2e395...