tests/hlsl: Add tests for the EvaluateAttribute*() intrinsics.

Based on earlier tests by Conor McCarthy.
This commit is contained in:
Giovanni Mascellani
2024-10-04 10:01:46 +02:00
committed by Henri Verbeet
parent a68fd1b0de
commit ed552e4519
Notes: Henri Verbeet 2024-12-18 17:38:37 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/806
8 changed files with 282 additions and 55 deletions

View File

@@ -675,11 +675,6 @@ static bool metal_runner_init(struct metal_runner *runner)
NSArray<id<MTLDevice>> *devices;
id<MTLDevice> device;
static const char *const tags[] =
{
"msl",
};
if (!check_msl_support())
{
skip("MSL support is not enabled. If this is unintentional, "
@@ -717,8 +712,8 @@ static bool metal_runner_init(struct metal_runner *runner)
}
runner->caps.runner = "Metal";
runner->caps.tags = tags;
runner->caps.tag_count = ARRAY_SIZE(tags);
runner->caps.tags[0] = "msl";
runner->caps.tag_count = 1;
runner->caps.minimum_shader_model = SHADER_MODEL_4_0;
runner->caps.maximum_shader_model = SHADER_MODEL_5_0;