From 654c96fc94cd6b37ebdc9456fd96726013a53b05 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Sat, 15 Nov 2025 18:51:41 +0100 Subject: [PATCH] tests/d3d12: Mark a texture aliasing test as todo on Intel. --- tests/d3d12.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/d3d12.c b/tests/d3d12.c index a0fe73bc8..e2c538e4f 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -32837,7 +32837,11 @@ static void test_64kb_texture_alignment(void) transition_resource_state(command_list, textures[1], D3D12_RESOURCE_STATE_COPY_DEST, D3D12_RESOURCE_STATE_COPY_SOURCE); get_resource_readback_with_command_list(textures[1], 0, &rb, queue, command_list); - todo_if(is_mvk_device_lt(device, 1, 2, 12)) + /* We're currently messing up Vulkan resource layouts here, the new + * texture will trigger an UNDEFINED -> TRANSFER_DST_OPTIMAL transition, + * which could destroy the content. On most drivers this is luckily not + * a problem. */ + todo_if(is_mvk_device_lt(device, 1, 2, 12) || is_intel_device(device)) check_readback_data_uint(&rb.rb, &box, 0xdeadbeef, 0); release_resource_readback(&rb);