mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Mark a test related to instanced draws as buggy on MoltenVK.
I haven't been able to understand what's happening here exactly, but it doesn't look like we're generating bad Vulkan calls.
This commit is contained in:
parent
3295f0d16e
commit
17f3f2914e
Notes:
Alexandre Julliard
2024-01-25 23:12:28 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/531
@ -25877,7 +25877,13 @@ static void test_instance_id(void)
|
||||
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
||||
get_resource_readback_with_command_list(context.render_target, 0, &rb, queue, command_list);
|
||||
for (j = 0; j < ARRAY_SIZE(expected_results); ++j)
|
||||
{
|
||||
/* MoltenVK seems to have a bug with instanced draws when
|
||||
* the instance data step rate is zero: in some cases
|
||||
* StartVertexLocation seems to be ignored. */
|
||||
bug_if(is_mvk_device(context.device) && i == 0 && 8 <= j && j < 12)
|
||||
check_readback_data_uint(&rb.rb, &expected_results[j].box, tests[i].expected_colors[j], 1);
|
||||
}
|
||||
release_resource_readback(&rb);
|
||||
reset_command_list(command_list, context.allocator);
|
||||
transition_resource_state(command_list, render_target,
|
||||
|
Loading…
Reference in New Issue
Block a user