vkd3d: Pad resource allocation size to allow texture placement at a 64kb alignment.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy
2021-07-06 13:25:56 +10:00
committed by Alexandre Julliard
parent fdad6a9bde
commit cea28ec77e
3 changed files with 18 additions and 4 deletions

View File

@@ -29863,7 +29863,6 @@ static void test_64kb_texture_alignment(void)
/* If the heap could not be used, the texture is not aliased. */
reset_command_list(command_list, context.allocator);
get_texture_readback_with_command_list(textures[1], 0, &rb, queue, command_list);
todo_if(info.Alignment > D3D12_DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT)
check_readback_data_uint(&rb, &box, 0xdeadbeef, 0);
release_resource_readback(&rb);