mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
dzn: Simultaneous-access is mutually exclusive with MSAA
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27531>
This commit is contained in:
parent
32c6caffd7
commit
d5131e5f86
1 changed files with 2 additions and 1 deletions
|
|
@ -261,7 +261,8 @@ dzn_image_create(struct dzn_device *device,
|
|||
}
|
||||
|
||||
if (pCreateInfo->sharingMode == VK_SHARING_MODE_CONCURRENT &&
|
||||
!(image->desc.Flags & D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL))
|
||||
!(image->desc.Flags & D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL) &&
|
||||
image->desc.SampleDesc.Count == 1)
|
||||
image->desc.Flags |= D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS;
|
||||
|
||||
*out = dzn_image_to_handle(image);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue