https://bugs.winehq.org/show_bug.cgi?id=53505
Bug ID: 53505 Summary: d3d9:visual - test_vshader_input() sometimes fails on Windows <= 10 1607 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
d3d9:visual - test_vshader_input() sometimes fails on Windows <= 10 1607:
visual.c:8907: Test failed: Input test: Quad 3(2crd-wrongidx) returned color 0x00ff00ff, expected 0x00ff0080
https://test.winehq.org/data/patterns.html#d3d9:visual
This happens on Windows 8, Windows 10 1507 and 1607 but is rare enough (~7%) to sometimes cause false positives.
https://bugs.winehq.org/show_bug.cgi?id=53505
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=53505
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Note that d3d8:visual has a similar test_vshader_input() function that does not fail. Yet in d3d9:visual the failure happens when using swapped_shader_code_1 which is the most similar to the shader used in d3d8:visual.
https://bugs.winehq.org/show_bug.cgi?id=53505
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #2 from Sergey Isakov isakov-sl@bk.ru --- This is real Windows 10 22H2 ~~~~
C:\Users\admin\Downloads\802>d3d9_test-stripped.exe visual visual.c:28040: Driver string: "aticfx64.dll" visual.c:28041: Description string: "AMD Radeon(TM) RX Vega 11 Graphics" visual.c:28044: Device name string: "\.\DISPLAY1" visual.c:28046: Driver version 31.0.12042.9001 visual.c:1418: sRGB writing to D3DFMT_A8R8G8B8 is supported. visual.c:2808: Test failed: Got color 0x0000bf40 for addressing mode D3DTADDRESS_BORDER, expected 0x000000ff. visual.c:9240: Tests skipped: R5G6R5 textures with SRGBREAD are not supported. visual.c:9240: Tests skipped: A1R5G5R5 textures with SRGBREAD are not supported. visual.c:9240: Tests skipped: X1R5G5R5 textures with SRGBREAD are not supported. visual.c:6935: Tests skipped: D3DFMT_A1R5G5B5 support is not D3DOK_NOAUTOGEN (hr 0). visual.c:10708: Tests skipped: Card has unconditional NP2 support, skipping conditional NP2 tests visual.c:11104: Tests skipped: L6V5U5 / D3DTOP_BUMPENVMAPLUMINANCE not supported, skipping tests. visual.c:16404: Tests skipped: Skipping D16_LOCKABLE depth test, unsupported format. visual.c:16404: Tests skipped: Skipping D32 depth test, unsupported format. visual.c:16404: Tests skipped: Skipping D15S1 depth test, unsupported format. visual.c:16404: Tests skipped: Skipping D24X4S4 depth test, unsupported format. visual.c:16404: Tests skipped: Skipping D24FS8 depth test, unsupported format. visual.c:14995: Tests skipped: No NVDB (depth bounds test) support, skipping tests. visual.c:19785: Test failed: Got unexpected color 0x00000000. visual.c:21202: Tests skipped: Format D3DFMT_L6V5U5 not supported, skipping. visual.c:22469: Tests skipped: Depth format 71 not supported, skipping. visual.c:24271: Line antialiasing support: 0. visual.c:26647: Test failed: test 3d_2d, expected 0x00303030, got 0x003d3d3d. visual.c:28013: Test failed: pool 0x2: level 0: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 1: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 2: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 3: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 4: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 5: Got unexpected color 0x00000000. 35e8:visual: 150945 tests executed (0 marked as todo, 0 as flaky, 9 failures), 14 skipped.
C:\Users\admin\Downloads\802>
~~~~
https://bugs.winehq.org/show_bug.cgi?id=53505
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- The test compiled from winehq 8.0.2 release sources.
https://bugs.winehq.org/show_bug.cgi?id=53505
--- Comment #4 from François Gouget fgouget@codeweavers.com --- The failures in comment 2 are unrelated to this bug so they should be dealt with separately:
visual.c:2808: Test failed: Got color 0x0000bf40 for addressing mode D3DTADDRESS_BORDER, expected 0x000000ff. visual.c:19785: Test failed: Got unexpected color 0x00000000. visual.c:26647: Test failed: test 3d_2d, expected 0x00303030, got 0x003d3d3d.
There is no corresponding bug for these -> file a new bug
visual.c:28013: Test failed: pool 0x2: level 0: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 1: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 2: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 3: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 4: Got unexpected color 0x00000000. visual.c:28013: Test failed: pool 0x2: level 5: Got unexpected color 0x00000000.
-> Already reported as bug 54519.