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
e42d932c
Commit
e42d932c
authored
Jul 20, 2008
by
Luis Busquets
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add a test for D3DXGetShaderVersion().
parent
fb70f818
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
shader.c
dlls/d3dx9_36/tests/shader.c
+17
-0
No files found.
dlls/d3dx9_36/tests/shader.c
View file @
e42d932c
...
...
@@ -54,7 +54,24 @@ static void test_get_shader_size(void)
ok
(
shader_size
==
0
,
"Got shader size %u, expected 0
\n
"
,
shader_size
);
}
static
void
test_get_shader_version
(
void
)
{
DWORD
shader_version
;
shader_version
=
D3DXGetShaderVersion
(
simple_vs
);
ok
(
shader_version
==
D3DVS_VERSION
(
1
,
1
),
"Got shader version 0x%08x, expected 0x%08x
\n
"
,
shader_version
,
D3DVS_VERSION
(
1
,
1
));
shader_version
=
D3DXGetShaderVersion
(
simple_ps
);
ok
(
shader_version
==
D3DPS_VERSION
(
1
,
1
),
"Got shader version 0x%08x, expected 0x%08x
\n
"
,
shader_version
,
D3DPS_VERSION
(
1
,
1
));
shader_version
=
D3DXGetShaderVersion
(
NULL
);
ok
(
shader_version
==
0
,
"Got shader version 0x%08x, expected 0
\n
"
,
shader_version
);
}
START_TEST
(
shader
)
{
test_get_shader_size
();
test_get_shader_version
();
}
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