mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d-shader: Rename vkd3d_shader_push_constant to vkd3d_shader_push_constant_buffer.
This should be clearer. Multiple constant buffers can be assigned to a single push constant range.
This commit is contained in:
@@ -1175,8 +1175,8 @@ static HRESULT create_shader_stage(struct d3d12_device *device,
|
||||
|
||||
shader_interface.bindings = root_signature->descriptor_mapping;
|
||||
shader_interface.binding_count = root_signature->descriptor_count;
|
||||
shader_interface.push_constants = root_signature->root_constants;
|
||||
shader_interface.push_constant_count = root_signature->root_constant_count;
|
||||
shader_interface.push_constant_buffers = root_signature->root_constants;
|
||||
shader_interface.push_constant_buffer_count = root_signature->root_constant_count;
|
||||
shader_interface.default_sampler = root_signature->default_sampler;
|
||||
if (FAILED(hr = vkd3d_shader_compile_dxbc(&dxbc, &spirv, 0, &shader_interface)))
|
||||
{
|
||||
|
@@ -344,7 +344,7 @@ struct d3d12_root_signature
|
||||
struct vkd3d_shader_descriptor_binding default_sampler;
|
||||
|
||||
unsigned int root_constant_count;
|
||||
struct vkd3d_shader_push_constant *root_constants;
|
||||
struct vkd3d_shader_push_constant_buffer *root_constants;
|
||||
|
||||
unsigned int push_constant_range_count;
|
||||
/* Only a single push constant range may include the same stage in Vulkan. */
|
||||
|
Reference in New Issue
Block a user