Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
77c1454c
Commit
77c1454c
authored
Jan 30, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Skip the YUV tests when the driver confuses the U and V channels.
parent
803bad09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
visual.c
dlls/d3d9/tests/visual.c
+13
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
77c1454c
...
...
@@ -9713,6 +9713,17 @@ static void yuv_color_test(IDirect3DDevice9 *device) {
* differently, so we need a max diff of 16
*/
color
=
getPixelColor
(
device
,
40
,
240
);
/* Newer versions of the Nvidia Windows driver mix up the U and V channels, breaking all the tests
* where U != V. Skip the entire test if this bug in this case
*/
if
(
broken
(
test_data
[
i
].
in
==
0xff000000
&&
color
==
0x00008800
&&
format
==
D3DFMT_UYVY
))
{
skip
(
"Nvidia channel confusion bug detected, skipping YUV tests
\n
"
);
IDirect3DSurface9_Release
(
surface
);
goto
out
;
}
ok
(
color_match
(
color
,
ref_color_left
,
18
),
"Input 0x%08x: Got color 0x%08x for pixel 1/1, expected 0x%08x, format %s
\n
"
,
test_data
[
i
].
in
,
color
,
ref_color_left
,
fmt_string
);
...
...
@@ -9725,6 +9736,8 @@ static void yuv_color_test(IDirect3DDevice9 *device) {
}
IDirect3DSurface9_Release
(
surface
);
}
out:
IDirect3DSurface9_Release
(
target
);
IDirect3D9_Release
(
d3d
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment