Henri Verbeet : vkd3d-shader: Callers of vkd3d_shader_get_supported_source_types() should ignore unrecognised source types.
Alexandre Julliard
julliard at winehq.org
Fri Feb 25 14:14:52 CST 2022
Module: vkd3d
Branch: master
Commit: 63098ba8fa72db5d2bcb021c84c9cee12c2587fd
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=63098ba8fa72db5d2bcb021c84c9cee12c2587fd
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Feb 25 19:36:36 2022 +0100
vkd3d-shader: Callers of vkd3d_shader_get_supported_source_types() should ignore unrecognised source 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 0e958b2..3c7cc4d 100644
--- a/include/vkd3d_shader.h
+++ b/include/vkd3d_shader.h
@@ -1461,7 +1461,8 @@ static inline uint32_t vkd3d_shader_create_swizzle(enum vkd3d_shader_swizzle_com
VKD3D_SHADER_API const char *vkd3d_shader_get_version(unsigned int *major, unsigned int *minor);
/**
* Returns the source types supported, with any target type, by
- * vkd3d_shader_compile().
+ * vkd3d_shader_compile(). Future versions of the library may introduce
+ * additional source types; callers should ignore unrecognised source types.
*
* Use vkd3d_shader_get_supported_target_types() to determine which target types
* are supported for each source type.
More information about the wine-cvs
mailing list