Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype VkSubgroupFeatureFlagBits = VkSubgroupFeatureFlagBits VkFlags
- pattern VK_SUBGROUP_FEATURE_BASIC_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_VOTE_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_ARITHMETIC_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_BALLOT_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_SHUFFLE_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_CLUSTERED_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_SUBGROUP_FEATURE_QUAD_BIT :: VkSubgroupFeatureFlagBits
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES :: VkStructureType
- data VkPhysicalDeviceSubgroupProperties = VkPhysicalDeviceSubgroupProperties {}
- type VkSubgroupFeatureFlags = VkSubgroupFeatureFlagBits
Documentation
newtype VkSubgroupFeatureFlagBits Source #
VkSubgroupFeatureFlagBits - Enum describing what subgroup operations are supported
See Also
Instances
pattern VK_SUBGROUP_FEATURE_BASIC_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_BASIC_BIT
specifies the device will accept SPIR-V
shader modules that contain the GroupNonUniform
capability.
pattern VK_SUBGROUP_FEATURE_VOTE_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_VOTE_BIT
specifies the device will accept SPIR-V
shader modules that contain the GroupNonUniformVote
capability.
pattern VK_SUBGROUP_FEATURE_ARITHMETIC_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_ARITHMETIC_BIT
specifies the device will accept
SPIR-V shader modules that contain the GroupNonUniformArithmetic
capability.
pattern VK_SUBGROUP_FEATURE_BALLOT_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_BALLOT_BIT
specifies the device will accept SPIR-V
shader modules that contain the GroupNonUniformBallot
capability.
pattern VK_SUBGROUP_FEATURE_SHUFFLE_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_SHUFFLE_BIT
specifies the device will accept
SPIR-V shader modules that contain the GroupNonUniformShuffle
capability.
pattern VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT
specifies the device will
accept SPIR-V shader modules that contain the
GroupNonUniformShuffleRelative
capability.
pattern VK_SUBGROUP_FEATURE_CLUSTERED_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_CLUSTERED_BIT
specifies the device will accept
SPIR-V shader modules that contain the GroupNonUniformClustered
capability.
pattern VK_SUBGROUP_FEATURE_QUAD_BIT :: VkSubgroupFeatureFlagBits Source #
VK_SUBGROUP_FEATURE_QUAD_BIT
specifies the device will accept SPIR-V
shader modules that contain the GroupNonUniformQuad
capability.
data VkPhysicalDeviceSubgroupProperties Source #
VkPhysicalDeviceSubgroupProperties - Structure describing subgroup support for an implementation
Members
The members of the VkPhysicalDeviceSubgroupProperties
structure
describe the following implementation-dependent limits:
Description
sType
is the type of this structure.
pNext
isNULL
or a pointer to an extension-specific structure.subgroupSize
is the number of invocations in each subgroup. This will match any @SubgroupSize@ decorated variable used in any shader module created on this device.subgroupSize
is at least 1 if any of the physical device’s queues supportVK_QUEUE_GRAPHICS_BIT
orVK_QUEUE_COMPUTE_BIT
.supportedStages
is a bitfield ofVkShaderStageFlagBits
describing the shader stages that subgroup operations are supported in.supportedStages
will have theVK_SHADER_STAGE_COMPUTE_BIT
bit set if any of any of the physical device’s queues supportVK_QUEUE_COMPUTE_BIT
.supportedOperations
is a bitmask ofVkSubgroupFeatureFlagBits
specifying the sets of subgroup operations supported on this device.supportedOperations
will have theVK_SUBGROUP_FEATURE_BASIC_BIT
bit set if any of the physical device’s queues supportVK_QUEUE_GRAPHICS_BIT
orVK_QUEUE_COMPUTE_BIT
.quadOperationsInAllStages
is a boolean that specifies whether quad subgroup operations are available in all stages, or are restricted to fragment and compute stages.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES
If the VkPhysicalDeviceSubgroupProperties
structure is included in the
pNext
chain of
VkPhysicalDeviceProperties2
,
it is filled with the implementation-dependent limits.
See Also
VkBool32
, VkShaderStageFlags
,
VkStructureType
, VkSubgroupFeatureFlags
Instances
type VkSubgroupFeatureFlags = VkSubgroupFeatureFlagBits Source #
VkSubgroupFeatureFlags - Bitmask of VkSubgroupFeatureFlagBits
Description
VkSubgroupFeatureFlags
is a bitmask type for setting a mask of zero or
more VkSubgroupFeatureFlagBits
.
See Also
VkPhysicalDeviceSubgroupProperties
, VkSubgroupFeatureFlagBits