public class VkPhysicalDeviceSubgroupSizeControlPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceSubgroupSizeControlPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.minSubgroupSize – the minimum subgroup size supported by this device. minSubgroupSize is at least one if any of the physical device’s queues support QUEUE_GRAPHICS_BIT or QUEUE_COMPUTE_BIT. minSubgroupSize is a power-of-two. minSubgroupSize is less than or equal to maxSubgroupSize. minSubgroupSize is less than or equal to subgroupSize.maxSubgroupSize – the maximum subgroup size supported by this device. maxSubgroupSize is at least one if any of the physical device’s queues support QUEUE_GRAPHICS_BIT or QUEUE_COMPUTE_BIT. maxSubgroupSize is a power-of-two. maxSubgroupSize is greater than or equal to minSubgroupSize. maxSubgroupSize is greater than or equal to subgroupSize.maxComputeWorkgroupSubgroups – the maximum number of subgroups supported by the implementation within a workgroup.requiredSubgroupSizeStages – a bitfield of what shader stages support having a required subgroup size specified.
struct VkPhysicalDeviceSubgroupSizeControlPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t minSubgroupSize;
uint32_t maxSubgroupSize;
uint32_t maxComputeWorkgroupSubgroups;
VkShaderStageFlags requiredSubgroupSizeStages;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer
An array of
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXCOMPUTEWORKGROUPSUBGROUPS
The struct member offsets.
|
static int |
MAXSUBGROUPSIZE
The struct member offsets.
|
static int |
MINSUBGROUPSIZE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
REQUIREDSUBGROUPSIZESTAGES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the specified MemoryStack. |
int |
maxComputeWorkgroupSubgroups()
Returns the value of the
maxComputeWorkgroupSubgroups field. |
int |
maxSubgroupSize()
Returns the value of the
maxSubgroupSize field. |
int |
minSubgroupSize()
Returns the value of the
minSubgroupSize field. |
static int |
nmaxComputeWorkgroupSubgroups(long struct)
Unsafe version of
maxComputeWorkgroupSubgroups(). |
static int |
nmaxSubgroupSize(long struct)
Unsafe version of
maxSubgroupSize(). |
static int |
nminSubgroupSize(long struct)
Unsafe version of
minSubgroupSize(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nrequiredSubgroupSizeStages(long struct)
Unsafe version of
requiredSubgroupSizeStages(). |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
requiredSubgroupSizeStages()
Returns the value of the
requiredSubgroupSizeStages field. |
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
set(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MINSUBGROUPSIZE
public static final int MAXSUBGROUPSIZE
public static final int MAXCOMPUTEWORKGROUPSUBGROUPS
public static final int REQUIREDSUBGROUPSIZESTAGES
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int minSubgroupSize()
minSubgroupSize field.public int maxSubgroupSize()
maxSubgroupSize field.public int maxComputeWorkgroupSubgroups()
maxComputeWorkgroupSubgroups field.public int requiredSubgroupSizeStages()
requiredSubgroupSizeStages field.public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceSubgroupSizeControlPropertiesEXT set(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT malloc()
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT calloc()
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT create()
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT create(long address)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT mallocStack()
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT callocStack()
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nminSubgroupSize(long struct)
minSubgroupSize().public static int nmaxSubgroupSize(long struct)
maxSubgroupSize().public static int nmaxComputeWorkgroupSubgroups(long struct)
maxComputeWorkgroupSubgroups().public static int nrequiredSubgroupSizeStages(long struct)
requiredSubgroupSizeStages().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.