Class VkPhysicalDeviceSubgroupProperties

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPhysicalDeviceSubgroupProperties
    extends Struct
    implements NativeResource
    Structure describing subgroup support for an implementation.
    Description

    If the VkPhysicalDeviceSubgroupProperties structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • subgroupSize – the default number of invocations in each subgroup. subgroupSize is at least 1 if any of the physical device’s queues support QUEUE_GRAPHICS_BIT or QUEUE_COMPUTE_BIT.
    • supportedStages – a bitfield of VkShaderStageFlagBits describing the shader stages that subgroup operations are supported in. supportedStages will have the SHADER_STAGE_COMPUTE_BIT bit set if any of the physical device’s queues support QUEUE_COMPUTE_BIT.
    • supportedOperations – a bitmask of VkSubgroupFeatureFlagBits specifying the sets of subgroup operations supported on this device. supportedOperations will have the SUBGROUP_FEATURE_BASIC_BIT bit set if any of the physical device’s queues support QUEUE_GRAPHICS_BIT or QUEUE_COMPUTE_BIT.
    • quadOperationsInAllStages – a boolean that specifies whether quad subgroup operations are available in all stages, or are restricted to fragment and compute stages.

    Layout

    
     struct VkPhysicalDeviceSubgroupProperties {
         VkStructureType sType;
         void * pNext;
         uint32_t subgroupSize;
         VkShaderStageFlags supportedStages;
         VkSubgroupFeatureFlags supportedOperations;
         VkBool32 quadOperationsInAllStages;
     }