[PATCH vkd3d v2 05/10] tests: Allow probing a single component.
Zebediah Figura
zfigura at codeweavers.com
Thu May 12 18:01:53 CDT 2022
On 5/10/22 08:08, Giovanni Mascellani wrote:
> diff --git a/tests/shader_runner.h b/tests/shader_runner.h
> index 9685eaa3..a85b84e2 100644
> --- a/tests/shader_runner.h
> +++ b/tests/shader_runner.h
> @@ -123,7 +123,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);
> bool (*draw)(struct shader_runner *runner, D3D_PRIMITIVE_TOPOLOGY primitive_topology, unsigned int vertex_count);
> - void (*probe_vec4)(struct shader_runner *runner, const RECT *rect, const struct vec4 *v, unsigned int ulps);
> + void (*probe_vec4)(struct shader_runner *runner, const RECT *rect, const struct vec4 *v,
> + unsigned int ulps, unsigned int comp_count);
> };
I ran into a similar case with UAVs, and given our current preponderance
of backends, I'd rather move more logic out of them. I have some local
patches to that effect.
More information about the wine-devel
mailing list