struct VkShaderResourceUsageAMD {
uint32_t numUsedVgprs;
uint32_t numUsedSgprs;
uint32_t ldsSizePerLocalWorkGroup;
size_t ldsUsageSizeInBytes;
size_t scratchMemUsageInBytes;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkShaderResourceUsageAMD.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | LDSSIZEPERLOCALWORKGROUP
The struct member offsets. |
| public static final int | LDSUSAGESIZEINBYTES
The struct member offsets. |
| public static final int | NUMUSEDSGPRS
The struct member offsets. |
| public static final int | NUMUSEDVGPRS
The struct member offsets. |
| public static final int | SCRATCHMEMUSAGEINBYTES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkShaderResourceUsageAMD(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected VkShaderResourceUsageAMD | 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 VkShaderResourceUsageAMD | create(long address)
Returns a new |
| public static VkShaderResourceUsageAMD. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkShaderResourceUsageAMD | |
| public static VkShaderResourceUsageAMD. | |
| public int | |
| public long | |
| public static int | |
| public static long | |
| public static int | |
| public static int | |
| public static long | |
| public int | |
| public int | |
| public long | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| LDSSIZEPERLOCALWORKGROUP | back to summary |
|---|---|
| public static final int LDSSIZEPERLOCALWORKGROUP The struct member offsets. | |
| LDSUSAGESIZEINBYTES | back to summary |
|---|---|
| public static final int LDSUSAGESIZEINBYTES The struct member offsets. | |
| NUMUSEDSGPRS | back to summary |
|---|---|
| public static final int NUMUSEDSGPRS The struct member offsets. | |
| NUMUSEDVGPRS | back to summary |
|---|---|
| public static final int NUMUSEDVGPRS The struct member offsets. | |
| SCRATCHMEMUSAGEINBYTES | back to summary |
|---|---|
| public static final int SCRATCHMEMUSAGEINBYTES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkShaderResourceUsageAMD | back to summary |
|---|---|
| protected VkShaderResourceUsageAMD(long address, ByteBuffer container) | |
| VkShaderResourceUsageAMD | back to summary |
|---|---|
| public VkShaderResourceUsageAMD(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected VkShaderResourceUsageAMD create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkShaderResourceUsageAMD create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkShaderResourceUsageAMD. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkShaderResourceUsageAMD createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkShaderResourceUsageAMD. Like
| |
| ldsSizePerLocalWorkGroup | back to summary |
|---|---|
| public int ldsSizePerLocalWorkGroup() the maximum local data store size per work group in bytes.
| |
| ldsUsageSizeInBytes | back to summary |
|---|---|
| public long ldsUsageSizeInBytes() the LDS usage size in bytes per work group by this shader.
| |
| nldsSizePerLocalWorkGroup | back to summary |
|---|---|
| public static int nldsSizePerLocalWorkGroup(long struct) Unsafe version of | |
| nldsUsageSizeInBytes | back to summary |
|---|---|
| public static long nldsUsageSizeInBytes(long struct) Unsafe version of | |
| nnumUsedSgprs | back to summary |
|---|---|
| public static int nnumUsedSgprs(long struct) Unsafe version of | |
| nnumUsedVgprs | back to summary |
|---|---|
| public static int nnumUsedVgprs(long struct) Unsafe version of | |
| nscratchMemUsageInBytes | back to summary |
|---|---|
| public static long nscratchMemUsageInBytes(long struct) Unsafe version of | |
| numUsedSgprs | back to summary |
|---|---|
| public int numUsedSgprs() the number of scalar instruction general-purpose registers used by this shader.
| |
| numUsedVgprs | back to summary |
|---|---|
| public int numUsedVgprs() the number of vector instruction general-purpose registers used by this shader.
| |
| scratchMemUsageInBytes | back to summary |
|---|---|
| public long scratchMemUsageInBytes() the scratch memory usage in bytes by this shader.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkShaderResourceUsageAMD structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkShaderResourceUsageAMD |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkShaderResourceUsageAMD | |
| public int | Returns: the value of theVkShaderResourceUsageAMD#ldsSizePerLocalWorkGroup field.
|
| public long | |
| public int | |
| public int | |
| public long | Returns: the value of theVkShaderResourceUsageAMD#scratchMemUsageInBytes field.
|
| protected VkShaderResourceUsageAMD. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkShaderResourceUsageAMD 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 VkShaderResourceUsageAMD getElementFactory() Implements abstract org.
| |
| ldsSizePerLocalWorkGroup | back to summary |
|---|---|
public int ldsSizePerLocalWorkGroup()
| |
| ldsUsageSizeInBytes | back to summary |
|---|---|
public long ldsUsageSizeInBytes()
| |
| numUsedSgprs | back to summary |
|---|---|
public int numUsedSgprs()
| |
| numUsedVgprs | back to summary |
|---|---|
public int numUsedVgprs()
| |
| scratchMemUsageInBytes | back to summary |
|---|---|
public long scratchMemUsageInBytes()
| |
| self | back to summary |
|---|---|
| protected VkShaderResourceUsageAMD. Implements abstract org.
| |