This is the first set of patches aimed at improving the functions to convert between media types and various representations. Not everything ended up being necessary for what I wanted to do (MFVIDEOFORMAT seems to be the only format able to carry aperture information after all) but the tests and implementation are now there and will still be useful to convert media types from/to AM_MEDIA_TYPE formats.
--
v3: mfplat/mediatype: Implement MFInitAMMediaTypeFromMFMediaType for FORMAT_VideoInfo2.
mfplat/tests: Add tests for MFInitMediaTypeFromVideoInfoHeader2.
mfplat/mediatype: Implement MFInitMediaTypeFromVideoInfoHeader2.
mfplat/mediatype: Implement implicit MFInitMediaTypeFromVideoInfoHeader subtype.
mfplat/tests: Test each VIDEOINFOHEADER field conversion separately.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5294
~~This applies on top of !704, the last two commits belong here.~~
Here we finally emit the structured program, replacing the older simple structurizer. The advantage of the new structurizer is that the CFG if statically described in the generated program, without having to trace the value of a variable. Upcoming MRs will make the CFG even simpler, easier to read and hopefully to optimize for downstream compilers.
--
v4: vkd3d-shader/ir: Emit multilevel jumps in the structured program.
vkd3d-shader/ir: Emit the reconstructed structured program.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/711
On Fri Mar 15 07:55:52 2024 +0000, Rémi Bernon wrote:
> changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/5294/diffs?diff_id=105317&start_sha=bda0dbe0b9086716616731c86c81b550162e8811#f44c614b47a01be8d6d29ad07f7a5616e1ae60ec_26_26)
Indeed, fixed.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5294#note_64866
DXVK fails to create a device for the desktop window which causes the test to crash.
Instead of crashing, it should just skip the remaining desktop window tests if device creation fails.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5258