include: Add missing vkd3d_shader_compile() transformations and chained structures.

This commit is contained in:
Giovanni Mascellani 2022-09-28 15:27:28 +02:00 committed by Alexandre Julliard
parent b74a546034
commit 73cf9dee8a
Notes: Alexandre Julliard 2022-10-18 00:13:00 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/24

View File

@ -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: * 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_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 * Supported transformations can also be detected at runtime with the functions
* vkd3d_shader_get_supported_source_types() and * 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 * Depending on the source and target types, this function may support the
* following chained structures: * following chained structures:
* - vkd3d_shader_interface_info * - vkd3d_shader_interface_info
* - vkd3d_shader_scan_descriptor_info
* - vkd3d_shader_spirv_domain_shader_target_info * - vkd3d_shader_spirv_domain_shader_target_info
* - vkd3d_shader_spirv_target_info * - vkd3d_shader_spirv_target_info
* - vkd3d_shader_transform_feedback_info * - vkd3d_shader_transform_feedback_info
* - vkd3d_shader_hlsl_source_info
* *
* \param compile_info A chained structure containing compilation parameters. * \param compile_info A chained structure containing compilation parameters.
* *