mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/hlsl: Add an SV_InstanceId test.
This commit is contained in:
committed by
Alexandre Julliard
parent
fb730b11cf
commit
0bd6083785
Notes:
Alexandre Julliard
2024-04-30 23:14:55 +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/814
@@ -196,7 +196,8 @@ struct shader_runner_ops
|
||||
struct resource *(*create_resource)(struct shader_runner *runner, const struct resource_params *params);
|
||||
void (*destroy_resource)(struct shader_runner *runner, struct resource *resource);
|
||||
void (*clear)(struct shader_runner *runner, struct resource *resource, const struct vec4 *clear_value);
|
||||
bool (*draw)(struct shader_runner *runner, D3D_PRIMITIVE_TOPOLOGY primitive_topology, unsigned int vertex_count);
|
||||
bool (*draw)(struct shader_runner *runner, D3D_PRIMITIVE_TOPOLOGY primitive_topology, unsigned int vertex_count,
|
||||
unsigned int instance_count);
|
||||
bool (*dispatch)(struct shader_runner *runner, unsigned int x, unsigned int y, unsigned int z);
|
||||
struct resource_readback *(*get_resource_readback)(struct shader_runner *runner, struct resource *resource);
|
||||
void (*release_readback)(struct shader_runner *runner, struct resource_readback *rb);
|
||||
|
Reference in New Issue
Block a user