General idea of this test is to show that a lot of factors influence the fog when transformed and untransformed vertex format was used:
- Directly changing z and w (which is not equal in the corners).
- Changing projection matrix that change z and w.
- Using different programmable/ff vs/ps shader.
- Using different depth bias.
- Chaging depth in pixel shader (oDepth) may or may not affect to colors depending on the vendor implementation.
- And various combinations of above.
This gives `succ` in all cases on this configs:
- Windows 10 with Radeon HD 8400 or Ivy Bridge GT1 (Intel HD Graphics).
- Windows 7 with Radeon HD 6450.
- Windows XP with GeForce Go 7300.
--
v2: d3d9/tests: test table fog z vs rhw with shaders, depth bias, oDepth..
https://gitlab.winehq.org/wine/wine/-/merge_requests/2657
--
v3: d3dx9: Validate filter argument in texture from file functions.
d3dx9: Validate filter argument in D3DXLoadSurfaceFrom{Surface,FileInMemory,Memory}().
d3dx9: Validate filter argument in D3DXLoadVolumeFrom{Volume,FileInMemory,Memory}().
d3dx9: Further validate filter argument passed to D3DXFilterTexture().
d3dx9: Introduce helper function for retrieving the mip filter value in texture from file functions.
d3dx9/tests: Add d3dx filter argument value tests.
d3dx9: Return failure from D3DXLoadSurfaceFromMemory() if d3dx_load_pixels_from_pixels() fails.
d3dx9: Return success in D3DXLoadSurfaceFromMemory() for multisampled destination surfaces.
d3dx9/tests: Add tests for D3DXLoadSurfaceFromMemory() with a multisampled surface.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6157
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/treeview.c:
> !(item->state & TVIS_EXPANDEDONCE));
> if (sendsNotifications)
> {
> - if (!TREEVIEW_SendExpanding(infoPtr, item, TVE_EXPAND))
> - {
> - TRACE(" TVN_ITEMEXPANDING returned TRUE, exiting...\n");
> - return FALSE;
> - }
> + if (!TREEVIEW_SendExpanding(infoPtr, item, TVE_EXPAND))
Let's change TREEVIEW_SendExpanding to return the return value from TREEVIEW_SendTreeviewNotify() so we don't to need negate the return value twice and it's more intuitive this way.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6218#note_78098