mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Specify the aspect when creating NULL UAVs.
This fixes a crash on MoltenVK.
This commit is contained in:
parent
2fe76f3b60
commit
5e7f9d4d0d
Notes:
Alexandre Julliard
2024-01-08 22:21:20 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/532
@ -3444,6 +3444,7 @@ static void vkd3d_create_null_uav(struct d3d12_desc *descriptor,
|
||||
vkd3d_desc.miplevel_count = 1;
|
||||
vkd3d_desc.layer_idx = 0;
|
||||
vkd3d_desc.layer_count = 1;
|
||||
vkd3d_desc.vk_image_aspect = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
vkd3d_desc.components.r = VK_COMPONENT_SWIZZLE_R;
|
||||
vkd3d_desc.components.g = VK_COMPONENT_SWIZZLE_G;
|
||||
vkd3d_desc.components.b = VK_COMPONENT_SWIZZLE_B;
|
||||
|
Loading…
x
Reference in New Issue
Block a user