[PATCH vkd3d v2 5/5] include: Document struct vkd3d_shader_interface_info.

Henri Verbeet hverbeet at gmail.com
Mon Aug 31 10:14:28 CDT 2020


On Fri, 28 Aug 2020 at 20:35, Zebediah Figura <z.figura12 at gmail.com> wrote:
> +/**
> + * Describes the mapping of a range of Direct3D push constants to a constant
> + * buffer in the target environment.
> + *
> + * This structure is used in struct vkd3d_shader_interface_info.
> + */
>  struct vkd3d_shader_push_constant_buffer

No, the other way around. In the shader you'd have e.g. "cb0", and on
the Vulkan side you'd have "vkCmdPushConstants(...);". (The Direct3D
12 equivalent would be a D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS
root signature parameter.)



More information about the wine-devel mailing list