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.)