include: Fix some confusingly structured documentation.

Fixes: 7a4ae434dfa4cccc1e832455133930066d2ab575.
This commit is contained in:
Zebediah Figura 2023-10-09 17:15:11 -05:00 committed by Alexandre Julliard
parent 6a942581db
commit 72e8b6e0dc
Notes: Alexandre Julliard 2023-10-10 23:12:30 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/398

View File

@ -1387,7 +1387,10 @@ struct vkd3d_shader_descriptor_info
* as follows:
*
* - Each constant register set used by the shader is scanned as a single
* constant buffer descriptor, as follows:
* constant buffer descriptor.
* There may therefore be up to three such descriptors, one for each register
* set used by the shader: float, integer, and boolean.
* The fields are set as follows:
* * The \ref vkd3d_shader_descriptor_info.type field is set to
* VKD3D_SHADER_DESCRIPTOR_TYPE_CBV.
* * The \ref vkd3d_shader_descriptor_info.register_space field is set to zero.
@ -1407,9 +1410,6 @@ struct vkd3d_shader_descriptor_info
* * The \ref vkd3d_shader_descriptor_info.register_index field is set to the
* binding index of the original sampler, for both descriptors.
* * The \ref vkd3d_shader_descriptor_info.count field is set to one.
*
* In summary, there may be up to three such descriptors, one for each register
* set used by the shader: float, integer, and boolean.
*/
struct vkd3d_shader_scan_descriptor_info
{