mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Allow specifying a custom vertex buffer.
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
f11f7032cd
commit
84c73f82f7
@@ -54,6 +54,7 @@ struct sampler
|
||||
enum resource_type
|
||||
{
|
||||
RESOURCE_TYPE_TEXTURE,
|
||||
RESOURCE_TYPE_VERTEX_BUFFER,
|
||||
};
|
||||
|
||||
struct resource_params
|
||||
@@ -73,6 +74,8 @@ struct resource
|
||||
{
|
||||
unsigned int slot;
|
||||
enum resource_type type;
|
||||
|
||||
unsigned int size;
|
||||
};
|
||||
|
||||
struct input_element
|
||||
@@ -115,6 +118,8 @@ struct shader_runner_ops
|
||||
|
||||
void fatal_error(const char *format, ...) VKD3D_NORETURN VKD3D_PRINTF_FUNC(1, 2);
|
||||
|
||||
unsigned int get_vb_stride(const struct shader_runner *runner, unsigned int slot);
|
||||
|
||||
void run_shader_tests(struct shader_runner *runner, int argc, char **argv, const struct shader_runner_ops *ops);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
Reference in New Issue
Block a user