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
5e8ded16
Commit
5e8ded16
authored
Aug 09, 2019
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Trace the test index in test_fail() checks.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7b2d82fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
hlsl.c
dlls/d3dcompiler_43/tests/hlsl.c
+3
-3
No files found.
dlls/d3dcompiler_43/tests/hlsl.c
View file @
5e8ded16
...
...
@@ -616,9 +616,9 @@ static void test_fail(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *qquad_ge
{
compiled
=
errors
=
NULL
;
hr
=
ppD3DCompile
(
tests
[
i
],
strlen
(
tests
[
i
]),
NULL
,
NULL
,
NULL
,
"test"
,
"ps_2_0"
,
0
,
0
,
&
compiled
,
&
errors
);
ok
(
hr
==
E_FAIL
,
"
Got unexpected hr %#x.
\n
"
,
hr
);
ok
(
!!
errors
,
"
Expected non-NULL error blob.
\n
"
);
ok
(
!
compiled
,
"
Expected no compiled shader blob.
\n
"
);
ok
(
hr
==
E_FAIL
,
"
Test %u, got unexpected hr %#x.
\n
"
,
i
,
hr
);
ok
(
!!
errors
,
"
Test %u, expected non-NULL error blob.
\n
"
,
i
);
ok
(
!
compiled
,
"
Test %u, expected no compiled shader blob.
\n
"
,
i
);
ID3D10Blob_Release
(
errors
);
}
}
...
...
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