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
5b7ad3ad
Commit
5b7ad3ad
authored
Apr 05, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Fix a few ok conditions in the visual tests.
parent
b245c37c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
visual.c
dlls/d3d9/tests/visual.c
+6
-6
No files found.
dlls/d3d9/tests/visual.c
View file @
5b7ad3ad
...
...
@@ -5421,18 +5421,18 @@ static void vshader_version_varying_test(IDirect3DDevice9 *device) {
color
=
getPixelColor
(
device
,
160
,
120
);
ok
((
color
&
0x00ff0000
)
>=
0x00190000
&&
(
color
&
0x00ff0000
)
<=
0x00210000
&&
(
color
&
0x0000ff00
)
>=
0x00003300
&&
(
color
&
0x0000ff00
)
<=
0x00003500
&&
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
21
0068
,
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
00
0068
,
"vs_3_0 returned color 0x%08x, expected 0x00203366
\n
"
,
color
);
color
=
getPixelColor
(
device
,
160
,
360
);
ok
((
color
&
0x00ff0000
)
>=
0x003c0000
&&
(
color
&
0x00ff0000
)
<=
0x004e0000
&&
(
color
&
0x0000ff00
)
>=
0x00000000
&&
(
color
&
0x0000ff00
)
<=
0x00000000
&&
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
21
0068
,
"vs_1_1 returned color 0x%08x, expected 0x00
808080
\n
"
,
color
);
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
00
0068
,
"vs_1_1 returned color 0x%08x, expected 0x00
4c0066
\n
"
,
color
);
color
=
getPixelColor
(
device
,
480
,
360
);
ok
((
color
&
0x00ff0000
)
>=
0x003c0000
&&
(
color
&
0x00ff0000
)
<=
0x004e0000
&&
(
color
&
0x0000ff00
)
>=
0x00000000
&&
(
color
&
0x0000ff00
)
<=
0x00000000
&&
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
21
0068
,
"vs_2_0 returned color 0x%08x, expected 0x00
000000
\n
"
,
color
);
(
color
&
0x000000ff
)
>=
0x00000066
&&
(
color
&
0x000000ff
)
<=
0x00
00
0068
,
"vs_2_0 returned color 0x%08x, expected 0x00
4c0066
\n
"
,
color
);
/* cleanup */
hr
=
IDirect3DDevice9_SetPixelShader
(
device
,
NULL
);
...
...
@@ -7321,7 +7321,7 @@ static void test_vshader_float16(IDirect3DDevice9 *device)
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexDeclaration failed hr=%s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_CreateVertexShader
(
device
,
shader_code
,
&
shader
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexShader failed hr=%s
\n
"
,
DXGetErrorString9
(
hr
));
IDirect3DDevice9_SetVertexShader
(
device
,
shader
);
hr
=
IDirect3DDevice9_SetVertexShader
(
device
,
shader
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_SetVertexShader failed hr=%s
\n
"
,
DXGetErrorString9
(
hr
));
hr
=
IDirect3DDevice9_BeginScene
(
device
);
...
...
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