Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
41abcf60
Commit
41abcf60
authored
Apr 22, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Handle the Windows 8 testbot results in zenable_test().
parent
a8248847
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
visual.c
dlls/d3d8/tests/visual.c
+11
-1
No files found.
dlls/d3d8/tests/visual.c
View file @
41abcf60
...
...
@@ -4122,6 +4122,15 @@ static void zenable_test(void)
0x00ff0000
,
0x00606060
,
0x009f609f
,
0x00ff0000
,
0x00ff0000
,
0x00602060
,
0x009f209f
,
0x00ff0000
,
};
/* The Windows 8 testbot (WARP) appears to not clip z for regular
* vertices either. */
static
const
D3DCOLOR
expected_broken
[]
=
{
0x0020df20
,
0x0060df60
,
0x009fdf9f
,
0x00dfdfdf
,
0x00209f20
,
0x00609f60
,
0x009f9f9f
,
0x00df9fdf
,
0x00206020
,
0x00606060
,
0x009f609f
,
0x00df60df
,
0x00202020
,
0x00602060
,
0x009f209f
,
0x00df20df
,
};
static
const
DWORD
decl
[]
=
{
D3DVSD_STREAM
(
0
),
...
...
@@ -4155,7 +4164,8 @@ static void zenable_test(void)
x
=
80
*
((
2
*
j
)
+
1
);
y
=
60
*
((
2
*
i
)
+
1
);
color
=
getPixelColor
(
device
,
x
,
y
);
ok
(
color_match
(
color
,
expected
[
i
*
4
+
j
],
1
),
ok
(
color_match
(
color
,
expected
[
i
*
4
+
j
],
1
)
||
broken
(
color_match
(
color
,
expected_broken
[
i
*
4
+
j
],
1
)),
"Expected color 0x%08x at %u, %u, got 0x%08x.
\n
"
,
expected
[
i
*
4
+
j
],
x
,
y
,
color
);
}
}
...
...
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