mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
nvk: Don't advertise residencyAlignedMipSize on MaxwellB+
DXVK/vkd3d-proton require this feature to be advertised as VK_FALSE for FL12 support: https://github.com/doitsujin/dxvk/blob/v2.3.1/src/d3d11/d3d11_features.cpp#L305 https://github.com/HansKristian-Work/vkd3d-proton/blob/v2.12/libs/vkd3d/device.c#L7426 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28850>
This commit is contained in:
parent
be940a7dc6
commit
d184808124
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ nvk_get_device_properties(const struct nvk_instance *instance,
|
|||
|
||||
/* Vulkan 1.0 sparse properties */
|
||||
.sparseResidencyNonResidentStrict = true,
|
||||
.sparseResidencyAlignedMipSize = true,
|
||||
.sparseResidencyAlignedMipSize = info->cls_eng3d < MAXWELL_B, /* DXVK/vkd3d-proton requires this to be advertised as VK_FALSE for FL12 */
|
||||
.sparseResidencyStandard2DBlockShape = true,
|
||||
.sparseResidencyStandard2DMultisampleBlockShape = true,
|
||||
.sparseResidencyStandard3DBlockShape = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue