On Fri May 26 13:31:49 2023 +0000, Max Vincent Goldgamer wrote:
> That sounds perfect! What’s still missing for full wayland support in Wine?
There is still a lot of patches not merged until it will be ready. Its best to use the full downstream implementation for now.
Afaik Alexandros usually rebases his remaining downstream patches in this branch:
https://gitlab.winehq.org/afrantzis/wine/-/tree/wayland?ref_type=heads
There are also other downstream projects that might provide a collection of the wayland driver patches like wine-tkg community patches.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2712#note_33945
I encountered a case where a game provides an empty fragment shader, one that disassembles to just:
```
ps_5_0
dcl_globalFlags refactoringAllowed
```
which gets translated to:
```
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %main "main"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%main = OpFunction %void None %3
%4 = OpLabel
OpFunctionEnd
```
This patch is to detect that the OpLabel has not been terminated by a corresponding top-level return, and add it.
--
v2: vkd3d-shader: Ensure that the OpLabel emitted vkd3d_spirv_builder_begin_main_function() gets terminated.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/212
I encountered a case where a game provides an empty fragment shader, one that disassembles to just:
```
ps_5_0
dcl_globalFlags refactoringAllowed
```
which gets translated to:
```
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %main "main"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%main = OpFunction %void None %3
%4 = OpLabel
OpFunctionEnd
```
This patch is to detect that the OpLabel has not been terminated by a corresponding top-level return, and add it.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/212
This fixes some upside-down videos in Secret of Mana. The game plays a NV12 video using MF session and EVR, then calls GetCurrentImage to get the frame RGB data and display it itself.
--
v2: evr: Respect RGB format stride in GetCurrentImage.
evr/tests: Test IMFVideoDisplayControl_GetCurrentImage orientation.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2883