vkd3d-shader: Get rid of the unused vkd3d_shader_src_param_entry structure.

This commit is contained in:
Henri Verbeet 2023-04-20 12:30:22 +02:00 committed by Alexandre Julliard
parent abb207fab0
commit 73dc62aebf
Notes: Alexandre Julliard 2023-05-02 22:24:51 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/186

View File

@ -89,12 +89,6 @@ int dxbc_writer_write(struct dxbc_writer *dxbc, struct vkd3d_shader_code *out)
return vkd3d_shader_serialize_dxbc(dxbc->section_count, dxbc->sections, out, NULL);
}
struct vkd3d_shader_src_param_entry
{
struct list entry;
struct vkd3d_shader_src_param param;
};
static bool require_space(size_t offset, size_t count, size_t size, size_t data_size)
{
return !count || (data_size - offset) / count >= size;