mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Set the image aspect when clearing UAVs.
This fixes a number of tests on Mesa on Intel.
This commit is contained in:
parent
d640b213b2
commit
b9fa8cfaa6
Notes:
Alexandre Julliard
2023-09-22 22:48:01 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/357
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user