[Bug 51181] d3d10core:d3d10core fails systematically on AMD GPUs

WineHQ Bugzilla wine-bugs at winehq.org
Wed May 26 18:33:40 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51181

--- Comment #2 from François Gouget <fgouget at codeweavers.com> ---
I applied the patch below but this did not change the failures.

--- a/dlls/d3d10core/tests/d3d10core.c
+++ b/dlls/d3d10core/tests/d3d10core.c
@@ -9078,11 +9078,11 @@ static void test_instanced_draw(void)
     {
         {"position", 0, DXGI_FORMAT_R32G32B32A32_FLOAT, 0,
D3D10_APPEND_ALIGNED_ELEMENT,
                 D3D10_INPUT_PER_VERTEX_DATA, 0},
-        {"color",    0, DXGI_FORMAT_R8_UNORM,           1,
D3D10_APPEND_ALIGNED_ELEMENT,
+        {"color",    0, DXGI_FORMAT_R8G8B8A8_UNORM,     1,
D3D10_APPEND_ALIGNED_ELEMENT,
                 D3D10_INPUT_PER_INSTANCE_DATA, 1},
-        {"color",    1, DXGI_FORMAT_R8_UNORM,           2,
D3D10_APPEND_ALIGNED_ELEMENT,
+        {"color",    1, DXGI_FORMAT_R8G8B8A8_UNORM,     2,
D3D10_APPEND_ALIGNED_ELEMENT,
                 D3D10_INPUT_PER_INSTANCE_DATA, 0},
-        {"color",    2, DXGI_FORMAT_R8_UNORM,           3,
D3D10_APPEND_ALIGNED_ELEMENT,
+        {"color",    2, DXGI_FORMAT_R8G8B8A8_UNORM,     3,
D3D10_APPEND_ALIGNED_ELEMENT,
                 D3D10_INPUT_PER_INSTANCE_DATA, 2},
         {"v_offset", 0, DXGI_FORMAT_R32_FLOAT,          1,
D3D10_APPEND_ALIGNED_ELEMENT,
                 D3D10_INPUT_PER_INSTANCE_DATA, 1},

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list