broadcom/compiler: support arithmetic subgroup operations

This adds support for subgroup reduce operations
and subgroup scan operations. We rely on nir lowering
to lower these.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37836>
This commit is contained in:
Daivik Bhatia 2025-09-25 02:50:49 +05:30 committed by Iago Toral Quiroga
parent cdef2c0b61
commit fc2ee4d407

View file

@ -872,7 +872,8 @@ get_device_properties(const struct v3dv_physical_device *device,
VK_SUBGROUP_FEATURE_SHUFFLE_BIT |
VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT |
VK_SUBGROUP_FEATURE_VOTE_BIT |
VK_SUBGROUP_FEATURE_QUAD_BIT;
VK_SUBGROUP_FEATURE_QUAD_BIT |
VK_SUBGROUP_FEATURE_ARITHMETIC_BIT;
}
/* FIXME: this will probably require an in-depth review */