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
f11f913a
Commit
f11f913a
authored
Apr 01, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Handle the Windows 8 testbot results in fp_special_test().
parent
f174ca74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
visual.c
dlls/d3d9/tests/visual.c
+16
-13
No files found.
dlls/d3d9/tests/visual.c
View file @
f11f913a
...
...
@@ -13337,6 +13337,7 @@ static void fp_special_test(void)
D3DCOLOR
r600
;
D3DCOLOR
nv40
;
D3DCOLOR
nv50
;
D3DCOLOR
warp
;
}
vs_body
[]
=
{
...
...
@@ -13351,18 +13352,19 @@ static void fp_special_test(void)
* written to the blue component.
*
* There are considerable differences between graphics cards in how
* these are handled, but pow and nrm never generate INF or NAN. */
{
"log"
,
vs_log
,
sizeof
(
vs_log
),
0x00000000
,
0x00000000
,
0x00ff0000
,
0x00ff7f00
},
{
"pow"
,
vs_pow
,
sizeof
(
vs_pow
),
0x000000ff
,
0x000000ff
,
0x0000ff00
,
0x000000ff
},
{
"nrm"
,
vs_nrm
,
sizeof
(
vs_nrm
),
0x00ff0000
,
0x00ff0000
,
0x0000ff00
,
0x00ff0000
},
{
"rcp1"
,
vs_rcp1
,
sizeof
(
vs_rcp1
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
},
{
"rcp2"
,
vs_rcp2
,
sizeof
(
vs_rcp2
),
0x000000ff
,
0x00000000
,
0x00ff0000
,
0x00ff7f00
},
{
"rsq1"
,
vs_rsq1
,
sizeof
(
vs_rsq1
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
},
{
"rsq2"
,
vs_rsq2
,
sizeof
(
vs_rsq2
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
},
{
"lit"
,
vs_lit
,
sizeof
(
vs_lit
),
0x00ff0000
,
0x00ff0000
,
0x00ff0000
,
0x00ff0000
},
{
"def1"
,
vs_def1
,
sizeof
(
vs_def1
),
0x000000ff
,
0x00007f00
,
0x0000ff00
,
0x00007f00
},
{
"def2"
,
vs_def2
,
sizeof
(
vs_def2
),
0x00ff0000
,
0x00ff7f00
,
0x00ff0000
,
0x00ff7f00
},
{
"def3"
,
vs_def3
,
sizeof
(
vs_def3
),
0x00ff00ff
,
0x00ff7f00
,
0x00ff00ff
,
0x00ff7f00
},
* these are handled, but pow and nrm never generate INF or NAN on
* real hardware. */
{
"log"
,
vs_log
,
sizeof
(
vs_log
),
0x00000000
,
0x00000000
,
0x00ff0000
,
0x00ff7f00
,
0x00ff8000
},
{
"pow"
,
vs_pow
,
sizeof
(
vs_pow
),
0x000000ff
,
0x000000ff
,
0x0000ff00
,
0x000000ff
,
0x00008000
},
{
"nrm"
,
vs_nrm
,
sizeof
(
vs_nrm
),
0x00ff0000
,
0x00ff0000
,
0x0000ff00
,
0x00ff0000
,
0x00008000
},
{
"rcp1"
,
vs_rcp1
,
sizeof
(
vs_rcp1
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
,
0x00ff8000
},
{
"rcp2"
,
vs_rcp2
,
sizeof
(
vs_rcp2
),
0x000000ff
,
0x00000000
,
0x00ff0000
,
0x00ff7f00
,
0x00ff8000
},
{
"rsq1"
,
vs_rsq1
,
sizeof
(
vs_rsq1
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
,
0x00ff8000
},
{
"rsq2"
,
vs_rsq2
,
sizeof
(
vs_rsq2
),
0x000000ff
,
0x000000ff
,
0x00ff00ff
,
0x00ff7f00
,
0x00ff8000
},
{
"lit"
,
vs_lit
,
sizeof
(
vs_lit
),
0x00ff0000
,
0x00ff0000
,
0x00ff0000
,
0x00ff0000
,
0x00ff0000
},
{
"def1"
,
vs_def1
,
sizeof
(
vs_def1
),
0x000000ff
,
0x00007f00
,
0x0000ff00
,
0x00007f00
,
0x00008000
},
{
"def2"
,
vs_def2
,
sizeof
(
vs_def2
),
0x00ff0000
,
0x00ff7f00
,
0x00ff0000
,
0x00ff7f00
,
0x00ff8000
},
{
"def3"
,
vs_def3
,
sizeof
(
vs_def3
),
0x00ff00ff
,
0x00ff7f00
,
0x00ff00ff
,
0x00ff7f00
,
0x00ff8000
},
};
static
const
DWORD
ps_code
[]
=
...
...
@@ -13484,7 +13486,8 @@ static void fp_special_test(void)
ok
(
color_match
(
color
,
vs_body
[
i
].
r500
,
1
)
||
color_match
(
color
,
vs_body
[
i
].
r600
,
1
)
||
color_match
(
color
,
vs_body
[
i
].
nv40
,
1
)
||
color_match
(
color
,
vs_body
[
i
].
nv50
,
1
),
||
color_match
(
color
,
vs_body
[
i
].
nv50
,
1
)
||
broken
(
color_match
(
color
,
vs_body
[
i
].
warp
,
1
)),
"Expected color 0x%08x, 0x%08x, 0x%08x or 0x%08x for instruction
\"
%s
\"
, got 0x%08x.
\n
"
,
vs_body
[
i
].
r500
,
vs_body
[
i
].
r600
,
vs_body
[
i
].
nv40
,
vs_body
[
i
].
nv50
,
vs_body
[
i
].
name
,
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