If the VkPhysicalDeviceSubgroupSizeControlProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
If VkPhysicalDeviceSubgroupProperties::supportedOperations includes SUBGROUP_FEATURE_QUAD_BIT, minSubgroupSize must be greater than or equal to 4.
struct VkPhysicalDeviceSubgroupSizeControlProperties {
VkStructureType sType;
void * pNext;
uint32_t minSubgroupSize;
uint32_t maxSubgroupSize;
uint32_t maxComputeWorkgroupSubgroups;
VkShaderStageFlags requiredSubgroupSizeStages;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXCOMPUTEWORKGROUPSUBGROUPS
The struct member offsets. |
| public static final int | MAXSUBGROUPSIZE
The struct member offsets. |
| public static final int | MINSUBGROUPSIZE
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | REQUIREDSUBGROUPSIZESTAGES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceSubgroupSizeControlProperties(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties | |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceSubgroupSizeControlProperties | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceSubgroupSizeControlProperties | create()
Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties | create(long address)
Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceSubgroupSizeControlProperties | |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | |
| public static VkPhysicalDeviceSubgroupSizeControlProperties | |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSubgroupSizeControlProperties. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxComputeWorkgroupSubgroups()
the maximum number of subgroups supported by the implementation within a workgroup. |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static int | |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceSubgroupSizeControlProperties | |
| public int | requiredSubgroupSizeStages()
a bitfield of what shader stages support having a required subgroup size specified. |
| public VkPhysicalDeviceSubgroupSizeControlProperties | |
| public VkPhysicalDeviceSubgroupSizeControlProperties | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceSubgroupSizeControlProperties | |
| public VkPhysicalDeviceSubgroupSizeControlProperties | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAXCOMPUTEWORKGROUPSUBGROUPS | back to summary |
|---|---|
| public static final int MAXCOMPUTEWORKGROUPSUBGROUPS The struct member offsets. | |
| MAXSUBGROUPSIZE | back to summary |
|---|---|
| public static final int MAXSUBGROUPSIZE The struct member offsets. | |
| MINSUBGROUPSIZE | back to summary |
|---|---|
| public static final int MINSUBGROUPSIZE The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| REQUIREDSUBGROUPSIZESTAGES | back to summary |
|---|---|
| public static final int REQUIREDSUBGROUPSIZESTAGES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkPhysicalDeviceSubgroupSizeControlProperties | back to summary |
|---|---|
| protected VkPhysicalDeviceSubgroupSizeControlProperties(long address, ByteBuffer container) | |
| VkPhysicalDeviceSubgroupSizeControlProperties | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceSubgroupSizeControlProperties create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Like
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSubgroupSizeControlProperties. Returns a new
| |
| maxComputeWorkgroupSubgroups | back to summary |
|---|---|
| public int maxComputeWorkgroupSubgroups() the maximum number of subgroups supported by the implementation within a workgroup.
| |
| maxSubgroupSize | back to summary |
|---|---|
| public int maxSubgroupSize() the maximum subgroup size supported by this device.
| |
| minSubgroupSize | back to summary |
|---|---|
| public int minSubgroupSize() the minimum subgroup size supported by this device.
| |
| nmaxComputeWorkgroupSubgroups | back to summary |
|---|---|
| public static int nmaxComputeWorkgroupSubgroups(long struct) Unsafe version of | |
| nmaxSubgroupSize | back to summary |
|---|---|
| public static int nmaxSubgroupSize(long struct) Unsafe version of | |
| nminSubgroupSize | back to summary |
|---|---|
| public static int nminSubgroupSize(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nrequiredSubgroupSizeStages | back to summary |
|---|---|
| public static int nrequiredSubgroupSizeStages(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties pNext(long value) Sets the specified value to the | |
| requiredSubgroupSizeStages | back to summary |
|---|---|
| public int requiredSubgroupSizeStages() a bitfield of what shader stages support having a required subgroup size specified.
| |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties set(VkPhysicalDeviceSubgroupSizeControlProperties src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties sType$Default() Sets the | |
VkPhysicalDeviceSubgroupSizeControlProperties structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceSubgroupSizeControlProperties |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceSubgroupSizeControlProperties ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceSubgroupSizeControlProperties getElementFactory() Implements abstract org.
| |
| maxComputeWorkgroupSubgroups | back to summary |
|---|---|
public int maxComputeWorkgroupSubgroups()
| |
| maxSubgroupSize | back to summary |
|---|---|
public int maxSubgroupSize()
| |
| minSubgroupSize | back to summary |
|---|---|
public int minSubgroupSize()
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties. Sets the specified value to the | |
| requiredSubgroupSizeStages | back to summary |
|---|---|
public int requiredSubgroupSizeStages()
| |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceSubgroupSizeControlProperties. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSubgroupSizeControlProperties. Sets the | |