mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/dxbc: Rename the dxbc_writer_section structure to vkd3d_shader_dxbc_section_desc.
In preparation of exposing it in the public API.
This commit is contained in:
parent
b59de4de5c
commit
bf3c012834
Notes:
Alexandre Julliard
2023-02-23 22:20:24 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/103
@ -33,7 +33,7 @@ void dxbc_writer_init(struct dxbc_writer *dxbc)
|
||||
|
||||
void dxbc_writer_add_section(struct dxbc_writer *dxbc, uint32_t tag, const void *data, size_t size)
|
||||
{
|
||||
struct dxbc_writer_section *section;
|
||||
struct vkd3d_shader_dxbc_section_desc *section;
|
||||
|
||||
assert(dxbc->section_count < ARRAY_SIZE(dxbc->sections));
|
||||
|
||||
|
@ -1308,7 +1308,7 @@ static inline void *vkd3d_find_struct_(const struct vkd3d_struct *chain,
|
||||
#define TAG_SHEX VKD3D_MAKE_TAG('S', 'H', 'E', 'X')
|
||||
#define TAG_TEXT VKD3D_MAKE_TAG('T', 'E', 'X', 'T')
|
||||
|
||||
struct dxbc_writer_section
|
||||
struct vkd3d_shader_dxbc_section_desc
|
||||
{
|
||||
uint32_t tag;
|
||||
struct vkd3d_shader_code data;
|
||||
@ -1319,7 +1319,7 @@ struct dxbc_writer_section
|
||||
struct dxbc_writer
|
||||
{
|
||||
unsigned int section_count;
|
||||
struct dxbc_writer_section sections[DXBC_MAX_SECTION_COUNT];
|
||||
struct vkd3d_shader_dxbc_section_desc sections[DXBC_MAX_SECTION_COUNT];
|
||||
};
|
||||
|
||||
void dxbc_writer_add_section(struct dxbc_writer *dxbc, uint32_t tag, const void *data, size_t size);
|
||||
|
Loading…
Reference in New Issue
Block a user