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
92a2ebc6
Commit
92a2ebc6
authored
Apr 12, 2023
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Add a couple tests for minimum size in D3DStripShader().
parent
a639324b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
blob.c
dlls/d3dcompiler_43/tests/blob.c
+7
-1
No files found.
dlls/d3dcompiler_43/tests/blob.c
View file @
92a2ebc6
...
...
@@ -371,9 +371,15 @@ static void test_get_blob_part(void)
hr
=
D3DStripShader
(
NULL
,
test_blob_part
[
6
],
0
,
&
blob
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
hr
=
D3DStripShader
(
test_blob_part
,
2
,
0
,
&
blob
);
hr
=
D3DStripShader
(
test_blob_part
,
7
*
sizeof
(
DWORD
)
,
0
,
&
blob
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
hr
=
D3DStripShader
(
test_blob_part
,
8
*
sizeof
(
DWORD
),
0
,
&
blob
);
#if D3D_COMPILER_VERSION < 46
todo_wine
#endif
ok
(
hr
==
expected
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
hr
=
D3DStripShader
(
test_blob_part
,
test_blob_part
[
6
],
0
,
NULL
);
ok
(
hr
==
E_FAIL
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
...
...
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