mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
967eb23261
commit
cfa299eadb
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue