mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d: Disable "robustBufferAccess2" as well when we disable "robustBufferAccess".
From the validation layers: "If robustBufferAccess2 is enabled then robustBufferAccess must also be enabled (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-VkPhysicalDeviceRobustness2FeaturesEXT-robustBufferAccess2-04000)"
This commit is contained in:
parent
ba4bd651e5
commit
773f02d82f
Notes:
Alexandre Julliard
2024-02-22 23:04:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/667
@ -1704,6 +1704,7 @@ static HRESULT vkd3d_init_device_caps(struct d3d12_device *device,
|
||||
{
|
||||
WARN("Disabling robust buffer access for the update after bind feature.\n");
|
||||
features->robustBufferAccess = VK_FALSE;
|
||||
physical_device_info->robustness2_features.robustBufferAccess2 = VK_FALSE;
|
||||
}
|
||||
|
||||
/* Select descriptor heap implementation. Forcing virtual heaps may be useful if
|
||||
|
Loading…
Reference in New Issue
Block a user