diff options
author | Timur Kristóf <[email protected]> | 2020-05-27 01:31:35 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-02 21:12:13 +0000 |
commit | 7d2fe60f1cf7995c6a52e5160d2e40cddf8aabeb (patch) | |
tree | c7de3ae83d3c6c8c24ce66a9dc573d5ffdb5f022 /src | |
parent | 045c9ffa7d7f496ba347aa7acbfc0edea37a0fc1 (diff) |
radv/aco: Always enable subgroup shuffle.
It is now supported by both backends on all hw.
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5223>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 37ba40707e7..27ff12b5c2c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1525,14 +1525,9 @@ radv_get_physical_device_properties_1_1(struct radv_physical_device *pdevice, VK_SUBGROUP_FEATURE_ARITHMETIC_BIT | VK_SUBGROUP_FEATURE_BALLOT_BIT | VK_SUBGROUP_FEATURE_CLUSTERED_BIT | - VK_SUBGROUP_FEATURE_QUAD_BIT; - - if (((pdevice->rad_info.chip_class == GFX6 || - pdevice->rad_info.chip_class == GFX7) && !pdevice->use_aco) || - pdevice->rad_info.chip_class >= GFX8) { - p->subgroupSupportedOperations |= VK_SUBGROUP_FEATURE_SHUFFLE_BIT | - VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT; - } + VK_SUBGROUP_FEATURE_QUAD_BIT | + VK_SUBGROUP_FEATURE_SHUFFLE_BIT | + VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT; p->subgroupQuadOperationsInAllStages = true; p->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES; |