mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Rename readback helper to be more generic.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
a4ebde202a
commit
74c0ad0a7a
Notes:
Alexandre Julliard
2023-05-22 23:19:48 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/193
@@ -502,7 +502,7 @@ static void test_thread_id(void)
|
||||
|
||||
transition_resource_state(command_list, textures[0],
|
||||
D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
||||
get_texture_readback_with_command_list(textures[0], 0, &rb, context.queue, command_list);
|
||||
get_resource_readback_with_command_list(textures[0], 0, &rb, context.queue, command_list);
|
||||
for (x = 0; x < 16; ++x)
|
||||
{
|
||||
for (y = 0; y < 8; ++y)
|
||||
@@ -525,7 +525,7 @@ static void test_thread_id(void)
|
||||
|
||||
transition_resource_state(command_list, textures[1],
|
||||
D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
||||
get_texture_readback_with_command_list(textures[1], 0, &rb, context.queue, command_list);
|
||||
get_resource_readback_with_command_list(textures[1], 0, &rb, context.queue, command_list);
|
||||
for (x = 0; x < 16; ++x)
|
||||
{
|
||||
for (y = 0; y < 8; ++y)
|
||||
@@ -548,7 +548,7 @@ static void test_thread_id(void)
|
||||
|
||||
transition_resource_state(command_list, textures[2],
|
||||
D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
||||
get_texture_readback_with_command_list(textures[2], 0, &rb, context.queue, command_list);
|
||||
get_resource_readback_with_command_list(textures[2], 0, &rb, context.queue, command_list);
|
||||
for (x = 0; x < 16; ++x)
|
||||
{
|
||||
for (y = 0; y < 8; ++y)
|
||||
|
||||
Reference in New Issue
Block a user