Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 1007ba40 by Henri Verbeet at 2025-11-26T16:05:42+01:00 vkd3d-shader: Introduce vkd3d_shader_string_from_message_context().
It's main advantage over vkd3d_shader_message_context_copy_messages() is that it can't fail. The original issue this addresses is that vkd3d_shader_compile() should free its output when vkd3d_shader_message_context_copy_messages() fails, as spotted by Giovanni; that likely would have applied to a number of the other uses of vkd3d_shader_message_context_copy_messages() as well.
- - - - -
3 changed files:
- libs/vkd3d-shader/dxbc.c - libs/vkd3d-shader/vkd3d_shader_main.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/1007ba40b53009aacea808160b072d...