mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Skip processing resources according to [require] directives.
This commit is contained in:
parent
d69c04471e
commit
0dc40d7c1e
Notes:
Alexandre Julliard
2023-10-18 22:51:21 +02:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/412
@ -1081,7 +1081,13 @@ void run_shader_tests(struct shader_runner *runner, const struct shader_runner_o
|
||||
break;
|
||||
|
||||
case STATE_RESOURCE:
|
||||
set_resource(runner, runner->ops->create_resource(runner, ¤t_resource));
|
||||
/* Not every backend supports every resource type
|
||||
* (specifically, D3D9 doesn't support UAVs and
|
||||
* textures with data type other than float). */
|
||||
if (!skip_tests)
|
||||
{
|
||||
set_resource(runner, runner->ops->create_resource(runner, ¤t_resource));
|
||||
}
|
||||
free(current_resource.data);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user