mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Allow specifying a custom input layout.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
16b383aef5
commit
3ed4c6fe23
@@ -68,6 +68,15 @@ struct texture
|
||||
unsigned int slot;
|
||||
};
|
||||
|
||||
struct input_element
|
||||
{
|
||||
char *name;
|
||||
unsigned int slot;
|
||||
DXGI_FORMAT format;
|
||||
unsigned int texel_size;
|
||||
unsigned int index;
|
||||
};
|
||||
|
||||
struct shader_runner
|
||||
{
|
||||
const struct shader_runner_ops *ops;
|
||||
@@ -84,6 +93,9 @@ struct shader_runner
|
||||
|
||||
struct sampler *samplers;
|
||||
size_t sampler_count;
|
||||
|
||||
struct input_element *input_elements;
|
||||
size_t input_element_count, input_element_capacity;
|
||||
};
|
||||
|
||||
struct shader_runner_ops
|
||||
|
||||
Reference in New Issue
Block a user