Provide facility to require subgroup feature bits
Open
enhancement
- Dominant language
- C++
- Stars
- 228
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
In Vulkan, available subgroup operations are queried through the VkPhysicalDeviceSubgroupProperties struct. Within that struct is the field `supportedOperations`. It is a [bitmask](https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VkSubgroupFeatureFlagBits) indicating which operations are supported.
This should be able to be specified as a requirement in Amber. Maybe similar to:
```
PhysicalDeviceSubgroupProperties.supportedOperations.VK_SUBGROUP_FEATURE_BALLOT_BIT
```
Contributor guide
Assessment
This issue has not been assessed yet.