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
7926253d
Commit
7926253d
authored
Nov 04, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Print message output with ERR() in D3DPreprocess().
parent
cee21cf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
compiler.c
dlls/d3dcompiler_43/compiler.c
+17
-0
No files found.
dlls/d3dcompiler_43/compiler.c
View file @
7926253d
...
...
@@ -235,8 +235,25 @@ static HRESULT preprocess_shader(const void *data, SIZE_T data_size, const char
preprocess_info
.
include_context
=
include
;
ret
=
vkd3d_shader_preprocess
(
&
compile_info
,
&
byte_code
,
&
messages
);
if
(
ret
)
ERR
(
"Failed to preprocess shader, vkd3d result %d.
\n
"
,
ret
);
if
(
messages
)
{
if
(
*
messages
&&
ERR_ON
(
d3dcompiler
))
{
const
char
*
ptr
=
messages
;
const
char
*
line
;
ERR
(
"Shader log:
\n
"
);
while
((
line
=
get_line
(
&
ptr
)))
{
ERR
(
" %.*s"
,
(
int
)(
ptr
-
line
),
line
);
}
ERR
(
"
\n
"
);
}
if
(
messages_blob
)
{
size_t
size
=
strlen
(
messages
);
...
...
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