[PATCH v2 0/1] MR112: include: Document that vkd3d_shader_signature may contain pointers into the input shader blob.
-- v2: include: Document that vkd3d_shader_signature may contain pointers into the input shader blob. https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/112
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 ee8ce8d0..bf5e1387 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -1839,6 +1839,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 parser. -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/112
This merge request was approved by Henri Verbeet. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/112
participants (3)
-
Henri Verbeet (@hverbeet) -
Zebediah Figura -
Zebediah Figura (@zfigura)