mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 10:48:08 +02:00
radv: Only enable sparse features on Polaris and newer.
On Fiji, the CTS image can cause a hang when these are enabled. Let's enable them for Polaris and newer only, for now. Gitlab: #4136 Fixes:9f43b44bf0Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8646> (cherry picked from commit3c03fa5801)
This commit is contained in:
parent
032b9c4167
commit
172ae30602
2 changed files with 6 additions and 6 deletions
|
|
@ -454,7 +454,7 @@
|
|||
"description": "radv: Only enable sparse features on Polaris and newer.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "9f43b44bf06c61735dbab7e8e508642315bd93d1"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1016,9 +1016,9 @@ void radv_GetPhysicalDeviceFeatures(
|
|||
.shaderInt64 = true,
|
||||
.shaderInt16 = true,
|
||||
.sparseBinding = true,
|
||||
.sparseResidencyBuffer = pdevice->rad_info.chip_class >= GFX8,
|
||||
.sparseResidencyImage2D = pdevice->rad_info.chip_class >= GFX8,
|
||||
.sparseResidencyAliased = pdevice->rad_info.chip_class >= GFX8,
|
||||
.sparseResidencyBuffer = pdevice->rad_info.family >= CHIP_POLARIS10,
|
||||
.sparseResidencyImage2D = pdevice->rad_info.family >= CHIP_POLARIS10,
|
||||
.sparseResidencyAliased = pdevice->rad_info.family >= CHIP_POLARIS10,
|
||||
.variableMultisampleRate = true,
|
||||
.shaderResourceMinLod = true,
|
||||
.shaderResourceResidency = true,
|
||||
|
|
@ -1665,8 +1665,8 @@ void radv_GetPhysicalDeviceProperties(
|
|||
.deviceType = pdevice->rad_info.has_dedicated_vram ? VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU : VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||
.limits = limits,
|
||||
.sparseProperties = {
|
||||
.residencyNonResidentStrict = pdevice->rad_info.chip_class >= GFX8,
|
||||
.residencyStandard2DBlockShape = pdevice->rad_info.chip_class >= GFX8,
|
||||
.residencyNonResidentStrict = pdevice->rad_info.family >= CHIP_POLARIS10,
|
||||
.residencyStandard2DBlockShape = pdevice->rad_info.family >= CHIP_POLARIS10,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue