diff --git a/libs/vkd3d-shader/dxil.c b/libs/vkd3d-shader/dxil.c index c0c1592f..165ab222 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -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;