[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH vkd3d v2 5/5] include: Document struct vkd3d_shader_interface_info.
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2020-08-31 15:26:28
Message-ID: CAOsNvwyanFGs7LHkRXTLFn8mouPc=8C-=-Epjq6043gq69kdjg () mail ! gmail ! com
[Download RAW message or body]

On Fri, 28 Aug 2020 at 20:35, Zebediah Figura <z.figura12@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.)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic