Here are 5 more patches on top of !4624, mostly along the same lines. I realize it's super late, no need to rush reviewing :slight_smile:
--
v2: d3d9/tests: Test creating a texture on a NULL HWND device.
d3d9/tests: Don't create a vertex shader in test_desktop_window() when unsupported.
wined3d: Conditionally allow sRGB writes with the 'none' shader backend.
wined3d: Conditionally support WINED3D_FRAGMENT_CAP_SRGB_WRITE on the ffp fragment pipe.
d3d9/tests: Skip test_sample_attached_rendertarget() without pixel shaders support.
wined3d: Don't override texture parameters for COND_NP2 on multisample textures.
wined3d: Don't skip FFP projection transform update.
d3d9: Don't do instanced draws in DrawPrimitive() and DrawPrimitiveUP().
wined3d: Rename WINED3DUSAGE_PRIVATE to WINED3DUSAGE_CS.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4652
--
v6: win32u: Introduce a new add_virtual_modes helper.
winex11: Let win32u decide when to force update the display cache.
win32u: Don't force refresh the display cache on thread desktop change.
winex11: Report all sources as detached in virtual desktop mode.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5422
Growtopia shows a popup when this function call fails, faking success gets rid of it. Unreal Editor also prints a warning message that is silenced through this change.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5530