vkd3d-shader/dxbc: Store DXBC section data as a vkd3d_shader_code structure.

This commit is contained in:
Henri Verbeet
2023-02-20 13:47:03 +01:00
committed by Alexandre Julliard
parent dea212688a
commit b59de4de5c
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
3 changed files with 6 additions and 7 deletions

View File

@@ -1311,8 +1311,7 @@ static inline void *vkd3d_find_struct_(const struct vkd3d_struct *chain,
struct dxbc_writer_section
{
uint32_t tag;
const uint8_t *data;
size_t size;
struct vkd3d_shader_code data;
};
#define DXBC_MAX_SECTION_COUNT 5