mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests/shader_runner: Add a "mesa<23.3" tag.
This commit is contained in:
committed by
Henri Verbeet
parent
31ea11fb0e
commit
d5ed4df254
Notes:
Henri Verbeet
2024-12-19 21:25:35 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1179
@@ -1037,11 +1037,17 @@ static void d3d12_runner_init_caps(struct d3d12_shader_runner *runner,
|
||||
|
||||
runner->caps.tag_count = 0;
|
||||
runner->caps.tags[runner->caps.tag_count++] = "d3d12";
|
||||
|
||||
if (is_mvk_device(device))
|
||||
{
|
||||
runner->caps.tags[runner->caps.tag_count++] = "mvk";
|
||||
else if (is_llvmpipe_device(device))
|
||||
runner->caps.tags[runner->caps.tag_count++] = "llvmpipe";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (is_llvmpipe_device(device))
|
||||
runner->caps.tags[runner->caps.tag_count++] = "llvmpipe";
|
||||
if (is_mesa_device_lt(device, 23, 3, 0))
|
||||
runner->caps.tags[runner->caps.tag_count++] = "mesa<23.3";
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < ARRAY_SIZE(formats); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user