Module: vkd3d
Branch: master
Commit: 5d4edba925537bf0b0b1dbb755439d09219306b9
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/5d4edba925537bf0b0b1dbb755439…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Wed Dec 27 20:07:47 2023 +0100
tests: Mark a timestamp query test as buggy on MoltenVK.
The generated Vulkan calls look right and do not trigger any
validation error, but the returned timestamp is 0. A valid
timestamp is returned if the CopyResource() call is commented,
or the second EndQuery() call is moved before CopyResource(),
or the first EndQuery() call is commented. I am not seeing any
sensible pattern here, so I guess there is just a bug in
MoltenVK.
---
tests/d3d12.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c
index fce9d05f..77579c35 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -24848,6 +24848,7 @@ static void test_resolve_non_issued_query_data(void)
"Got unexpected timestamp %#"PRIx64".\n", timestamps[0]);
ok(!timestamps[1], "Got unexpected timestamp %#"PRIx64".\n", timestamps[1]);
ok(!timestamps[2], "Got unexpected timestamp %#"PRIx64".\n", timestamps[2]);
+ bug_if(is_mvk_device(device))
ok(timestamps[3] != initial_data[3] && timestamps[3] > 0,
"Got unexpected timestamp %#"PRIx64".\n", timestamps[3]);
release_resource_readback(&rb);
Module: vkd3d
Branch: master
Commit: 711ce4e65d083da591ce9444c57aadcccb2534b2
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/711ce4e65d083da591ce9444c57aa…
Author: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Date: Tue Dec 26 22:32:47 2023 +0100
tests: Mark loading from stencil as buggy on MoltenVK.
Specifically, MoltenVK seems to be able to load from stencil, but
the specific replicating swizzle (repeating the stencil value on
all the channels) is not honored. The stencil value is read only
on the red channel.
---
tests/d3d12.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c
index 896a0f22..e6ae6c5f 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -21394,11 +21394,13 @@ static void test_stencil_load(void)
transition_sub_resource_state(command_list, context.render_target, 0,
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
+ bug_if(is_mvk_device(context.device))
check_sub_resource_uvec4(context.render_target, 0, queue, command_list, &uvec4);
reset_command_list(command_list, context.allocator);
transition_sub_resource_state(command_list, texture, 0,
D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE);
+ bug_if(is_mvk_device(context.device))
check_sub_resource_uvec4(texture, 0, queue, command_list, &uvec4);
reset_command_list(command_list, context.allocator);