mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/dxil: Trace the program when validation fails after parsing.
This commit is contained in:
parent
5f20103518
commit
6822f1fe6c
Notes:
Henri Verbeet
2024-09-30 21:06:59 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1130
@ -10588,6 +10588,11 @@ int dxil_parse(const struct vkd3d_shader_compile_info *compile_info, uint64_t co
|
||||
|
||||
if ((ret = vkd3d_shader_parser_validate(&sm6.p, config_flags)) < 0)
|
||||
{
|
||||
WARN("Failed to validate shader after parsing, ret %d.\n", ret);
|
||||
|
||||
if (TRACE_ON())
|
||||
vkd3d_shader_trace(program);
|
||||
|
||||
sm6_parser_cleanup(&sm6);
|
||||
vsir_program_cleanup(program);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user