[PATCH 0/1] MR112: include: Document that vkd3d_shader_signature may contain pointers into the input shader blob.
From: Zebediah Figura <zfigura(a)codeweavers.com> --- include/vkd3d_shader.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index 51d03e28..b56ba52c 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -1820,6 +1820,9 @@ VKD3D_SHADER_API void vkd3d_shader_free_scan_descriptor_info( * Members of \a signature may be allocated by vkd3d-shader. The signature * should be freed with vkd3d_shader_free_shader_signature() when no longer * needed. + * \n + * The signature may contain pointers into the input shader, and should only be + * accessed while the input shader remains valid. * * \param messages Optional output location for error or informational messages * produced by the compiler. -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/112
This merge request was approved by Giovanni Mascellani. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/112
participants (3)
-
Giovanni Mascellani (@giomasce) -
Zebediah Figura -
Zebediah Figura (@zfigura)