amber
amber copied to clipboard
Provide facility to require subgroup feature bits
In Vulkan, available subgroup operations are queried through the VkPhysicalDeviceSubgroupProperties struct. Within that struct is the field supportedOperations. It is a bitmask 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