[Git][wine/vkd3d][master] vkd3d-shader: Introduce vkd3d_shader_string_from_message_context().

"Henri Verbeet (@hverbeet)" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

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/1007ba40b53009aacea808160b072d299641bbe0

-- 
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/1007ba40b53009aacea808160b072d299641bbe0
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.