From 73cf9dee8a75c348697656353b5a2c3e6e1b5807 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Wed, 28 Sep 2022 15:27:28 +0200 Subject: [PATCH] include: Add missing vkd3d_shader_compile() transformations and chained structures. --- include/vkd3d_shader.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index 088f3e63..7178ac5f 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -1552,6 +1552,12 @@ VKD3D_SHADER_API const enum vkd3d_shader_target_type *vkd3d_shader_get_supported * * This version of vkd3d-shader supports the following transformations: * - VKD3D_SHADER_SOURCE_DXBC_TPF to VKD3D_SHADER_TARGET_SPIRV_BINARY + * - VKD3D_SHADER_SOURCE_DXBC_TPF to VKD3D_SHADER_TARGET_SPIRV_TEXT + * (if vkd3d was compiled with SPIRV-Tools) + * - VKD3D_SHADER_SOURCE_DXBC_TPF to VKD3D_SHADER_TARGET_D3D_ASM + * - VKD3D_SHADER_SOURCE_D3D_BYTECODE to VKD3D_SHADER_TARGET_D3D_ASM + * - VKD3D_SHADER_SOURCE_HLSL to VKD3D_SHADER_TARGET_DXBC_TPF + * - VKD3D_SHADER_SOURCE_HLSL to VKD3D_SHADER_TARGET_D3D_BYTECODE * * Supported transformations can also be detected at runtime with the functions * vkd3d_shader_get_supported_source_types() and @@ -1560,9 +1566,11 @@ VKD3D_SHADER_API const enum vkd3d_shader_target_type *vkd3d_shader_get_supported * Depending on the source and target types, this function may support the * following chained structures: * - vkd3d_shader_interface_info + * - vkd3d_shader_scan_descriptor_info * - vkd3d_shader_spirv_domain_shader_target_info * - vkd3d_shader_spirv_target_info * - vkd3d_shader_transform_feedback_info + * - vkd3d_shader_hlsl_source_info * * \param compile_info A chained structure containing compilation parameters. *