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

Zebediah Figura z.figura12 at gmail.com
Mon Aug 31 20:29:00 CDT 2020


On 8/31/20 10:14 AM, Henri Verbeet wrote:
> 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.)
> 

Oops. Upon thinking about it harder, that does make more sense...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200831/2308df0f/attachment.sig>


More information about the wine-devel mailing list