Henri Verbeet : vkd3d-shader: Callers of vkd3d_shader_get_supported_target_types() should ignore unrecognised target types.
Alexandre Julliard
julliard at winehq.org
Fri Feb 25 14:14:52 CST 2022
Module: vkd3d
Branch: master
Commit: c97d7f5bff8e577c95a2bb14606677ac3f8a93c1
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=c97d7f5bff8e577c95a2bb14606677ac3f8a93c1
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Feb 25 19:36:37 2022 +0100
vkd3d-shader: Callers of vkd3d_shader_get_supported_target_types() should ignore unrecognised target types.
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/vkd3d_shader.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h
index 3c7cc4d..6ce9819 100644
--- a/include/vkd3d_shader.h
+++ b/include/vkd3d_shader.h
@@ -1477,7 +1477,8 @@ VKD3D_SHADER_API const char *vkd3d_shader_get_version(unsigned int *major, unsig
VKD3D_SHADER_API const enum vkd3d_shader_source_type *vkd3d_shader_get_supported_source_types(unsigned int *count);
/**
* Returns the target types supported, with the given source type, by
- * vkd3d_shader_compile().
+ * vkd3d_shader_compile(). Future versions of the library may introduce
+ * additional target types; callers should ignore unrecognised target types.
*
* \param source_type Source type for which to enumerate supported target types.
*
More information about the wine-cvs
mailing list