tests: Mark a couple of tests as working on recent NVIDIA GPUs.

I don't know the exact version that fixed this todo, but on the
same hardware this test was failing a couple of years ago, so
I presume something was fixed at some point. I am writing my
current driver version, but a lower one might turn out to be
sufficient.
This commit is contained in:
Giovanni Mascellani
2024-07-31 13:59:38 +02:00
committed by Henri Verbeet
parent 4094e5dbeb
commit 9f4a568868
Notes: Henri Verbeet 2024-07-31 21:03:26 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/971
2 changed files with 25 additions and 1 deletions

View File

@@ -11483,7 +11483,8 @@ static void test_shader_instructions(void)
transition_resource_state(command_list, context.render_target,
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
todo_if(uint_tests[i].is_todo || (uint_tests[i].todo_on_nvidia && is_nvidia_device(context.device)))
todo_if(uint_tests[i].is_todo ||
(uint_tests[i].todo_on_nvidia && is_nvidia_device_lt(context.device, 535, 183, 1)))
check_sub_resource_uvec4(context.render_target, 0, queue, command_list, &uint_tests[i].output.u);
reset_command_list(command_list, context.allocator);