Some fixes to valid clangd warnings, since I am using it as linter.
Also, I am removing enum hlsl_error_level on 4/6, since it doesn't seem to be meant to be used anywhere after 3/6.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/402
Implements asin, acos, atan, and atan2.
Also includes some tests in a new test file.
One possible problem here is that I'm not sure how to test what Microsoft's atan and atan2 outputs are in boundary cases like atan2(1, 0). I've made the test suites adhere with the calculator program I've been using (Qalculate, which I assume is using libc's atan2).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55154
--
v2: vkd3d-shader/hlsl: Implement atan2.
vkd3d-shader/hlsl: Implement atan.
vkd3d-shader/hlsl: Implement acos and asin trig intrinsics.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/364
Okay, I will revert those specific tests.
Generating the PE binaries won't be such a problem, however generating patch data that works on a generated PE is a problem. This would require writing implementations for most of mspatchc in order to properly generate patch data. I'm curious how the original author of the mspatcha implementation @cmccarthy generated the patch data
Any help with this would be very valuable and appreciated. I am trying to fix a 15 year old bug report with these changes so that people can finally install software without the need for manually installing the native Microsoft mspatcha binary.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3870#note_48358
If _NET_WM_FULLSCREEN_MONITORS is set then the property needs to be updated because it can't
be deleted by sending a _NET_WM_FULLSCREEN_MONITORS client message to the root window
according to the wm-spec version 1.5. Having the window spanning more than two monitors also
needs the property set. In other cases, _NET_WM_FULLSCREEN_MONITORS doesn't need to be set.
What's more, setting _NET_WM_FULLSCREEN_MONITORS adds a constraint on Mutter so that such a
window can't be moved to another monitor by using the Shift+Super+Up/Down/Left/Right
shortcut. So the property should be added only when necessary.
--
v2: winex11.drv: Set _NET_WM_FULLSCREEN_MONITORS only when necessary.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4063