mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Rename the vkd3d_root_descriptor structure to vkd3d_shader_root_descriptor.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
270b31a7db
commit
0f5dc67015
@ -450,7 +450,7 @@ struct vkd3d_shader_root_constants
|
||||
unsigned int value_count;
|
||||
};
|
||||
|
||||
struct vkd3d_root_descriptor
|
||||
struct vkd3d_shader_root_descriptor
|
||||
{
|
||||
unsigned int shader_register;
|
||||
unsigned int register_space;
|
||||
@ -474,7 +474,7 @@ struct vkd3d_root_parameter
|
||||
{
|
||||
struct vkd3d_shader_root_descriptor_table descriptor_table;
|
||||
struct vkd3d_shader_root_constants constants;
|
||||
struct vkd3d_root_descriptor descriptor;
|
||||
struct vkd3d_shader_root_descriptor descriptor;
|
||||
} u;
|
||||
enum vkd3d_shader_visibility shader_visibility;
|
||||
};
|
||||
|
@ -2376,7 +2376,7 @@ static int shader_parse_root_constants(struct root_signature_parser_context *con
|
||||
}
|
||||
|
||||
static int shader_parse_root_descriptor(struct root_signature_parser_context *context,
|
||||
unsigned int offset, struct vkd3d_root_descriptor *descriptor)
|
||||
unsigned int offset, struct vkd3d_shader_root_descriptor *descriptor)
|
||||
{
|
||||
const char *ptr;
|
||||
|
||||
@ -2890,7 +2890,7 @@ static int shader_write_root_constants(struct root_signature_writer_context *con
|
||||
}
|
||||
|
||||
static int shader_write_root_descriptor(struct root_signature_writer_context *context,
|
||||
const struct vkd3d_root_descriptor *descriptor)
|
||||
const struct vkd3d_shader_root_descriptor *descriptor)
|
||||
{
|
||||
if (!write_dword(context, descriptor->shader_register))
|
||||
return VKD3D_ERROR_OUT_OF_MEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user