radv: Enable subgroup shuffle on GFX10 when ACO is used.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4159> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4159>
This commit is contained in:
@@ -1483,7 +1483,8 @@ radv_get_physical_device_properties_1_1(struct radv_physical_device *pdevice,
|
||||
VK_SUBGROUP_FEATURE_QUAD_BIT;
|
||||
|
||||
if (pdevice->rad_info.chip_class == GFX8 ||
|
||||
pdevice->rad_info.chip_class == GFX9) {
|
||||
pdevice->rad_info.chip_class == GFX9 ||
|
||||
(pdevice->rad_info.chip_class == GFX10 && pdevice->use_aco)) {
|
||||
p->subgroupSupportedOperations |= VK_SUBGROUP_FEATURE_SHUFFLE_BIT |
|
||||
VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user