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:
Henri Verbeet 2020-07-16 14:38:46 +04:30 committed by Alexandre Julliard
parent 270b31a7db
commit 0f5dc67015
2 changed files with 4 additions and 4 deletions

View File

@ -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;
};

View File

@ -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;