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
53741d2b
Commit
53741d2b
authored
Sep 12, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: D3DCMP_GREATER is broken on r500.
parent
ed504576
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
visual.c
dlls/d3d9/tests/visual.c
+11
-4
No files found.
dlls/d3d9/tests/visual.c
View file @
53741d2b
...
...
@@ -2558,15 +2558,21 @@ static void z_range_test(IDirect3DDevice9 *device)
else
ok
(
color_match
(
color
,
0x00ffff00
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ffff00.
\n
"
,
color
);
/* Not clipped, > z buffer clear value(0.75) */
/* Not clipped, > z buffer clear value(0.75).
*
* On the r500 driver on Windows D3DCMP_GREATER and D3DCMP_GREATEREQUAL are broken for depth
* values > 0.5. The range appears to be distorted, apparently an incoming value of ~0.875 is
* equal to a stored depth buffer value of 0.5. */
color
=
getPixelColor
(
device
,
31
,
238
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
31
,
241
);
ok
(
color_match
(
color
,
0x00ffff00
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ffff00.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
100
,
238
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
)
||
broken
(
color_match
(
color
,
0x00ffffff
,
0
)),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
100
,
241
);
ok
(
color_match
(
color
,
0x00ffff00
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ffff00.
\n
"
,
color
);
ok
(
color_match
(
color
,
0x00ffff00
,
0
)
||
broken
(
color_match
(
color
,
0x00ffffff
,
0
)),
"Z range failed: Got color 0x%08x, expected 0x00ffff00.
\n
"
,
color
);
/* Not clipped, < z buffer clear value */
color
=
getPixelColor
(
device
,
104
,
238
);
...
...
@@ -2638,7 +2644,8 @@ static void z_range_test(IDirect3DDevice9 *device)
color
=
getPixelColor
(
device
,
31
,
238
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
100
,
238
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
ok
(
color_match
(
color
,
0x00ff0000
,
0
)
||
broken
(
color_match
(
color
,
0x00ffffff
,
0
)),
"Z range failed: Got color 0x%08x, expected 0x00ff0000.
\n
"
,
color
);
/* 0.75 < z < 0.0 */
color
=
getPixelColor
(
device
,
104
,
238
);
...
...
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