google / google/amber

Provide facility to require subgroup feature bits

Open
#518 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.