Module: vkd3d Branch: master Commit: b9fa8cfaa6924025f22849e8491b96fefd9f7af0 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/b9fa8cfaa6924025f22849e8491b96...
Author: Giovanni Mascellani gmascellani@codeweavers.com Date: Thu Sep 21 12:26:14 2023 +0200
vkd3d: Set the image aspect when clearing UAVs.
This fixes a number of tests on Mesa on Intel.
---
libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 42a98763..3be45120 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -5461,6 +5461,7 @@ static void STDMETHODCALLTYPE d3d12_command_list_ClearUnorderedAccessViewUint(ID view_desc.miplevel_count = 1; view_desc.layer_idx = view->info.texture.layer_idx; view_desc.layer_count = view->info.texture.layer_count; + view_desc.vk_image_aspect = VK_IMAGE_ASPECT_COLOR_BIT;
if (!vkd3d_create_texture_view(device, VKD3D_DESCRIPTOR_MAGIC_UAV, resource_impl->u.vk_image, &view_desc, &uint_view))