mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader: Get rid of the unused vkd3d_shader_src_param_entry structure.
This commit is contained in:
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
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user