If the VkPhysicalDeviceShaderCorePropertiesAMD structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
struct VkPhysicalDeviceShaderCorePropertiesAMD {
VkStructureType sType;
void * pNext;
uint32_t shaderEngineCount;
uint32_t shaderArraysPerEngineCount;
uint32_t computeUnitsPerShaderArray;
uint32_t simdPerComputeUnit;
uint32_t wavefrontsPerSimd;
uint32_t wavefrontSize;
uint32_t sgprsPerSimd;
uint32_t minSgprAllocation;
uint32_t maxSgprAllocation;
uint32_t sgprAllocationGranularity;
uint32_t vgprsPerSimd;
uint32_t minVgprAllocation;
uint32_t maxVgprAllocation;
uint32_t vgprAllocationGranularity;
}
| 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 | COMPUTEUNITSPERSHADERARRAY
The struct member offsets. |
| public static final int | MAXSGPRALLOCATION
The struct member offsets. |
| public static final int | MAXVGPRALLOCATION
The struct member offsets. |
| public static final int | MINSGPRALLOCATION
The struct member offsets. |
| public static final int | MINVGPRALLOCATION
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SGPRALLOCATIONGRANULARITY
The struct member offsets. |
| public static final int | SGPRSPERSIMD
The struct member offsets. |
| public static final int | SHADERARRAYSPERENGINECOUNT
The struct member offsets. |
| public static final int | SHADERENGINECOUNT
The struct member offsets. |
| public static final int | SIMDPERCOMPUTEUNIT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VGPRALLOCATIONGRANULARITY
The struct member offsets. |
| public static final int | VGPRSPERSIMD
The struct member offsets. |
| public static final int | WAVEFRONTSIZE
The struct member offsets. |
| public static final int | WAVEFRONTSPERSIMD
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceShaderCorePropertiesAMD(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | |
| public int | computeUnitsPerShaderArray()
an unsigned integer value indicating the physical number of compute units within a shader array. |
| protected VkPhysicalDeviceShaderCorePropertiesAMD | 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 VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | create(long address)
Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | |
| public static VkPhysicalDeviceShaderCorePropertiesAMD. | |
| public int | maxSgprAllocation()
an unsigned integer value indicating the maximum number of SGPRs allocated for a wave. |
| public int | maxVgprAllocation()
an unsigned integer value indicating the maximum number of VGPRs allocated for a wave. |
| public int | minSgprAllocation()
an unsigned integer value indicating the minimum number of SGPRs allocated for a wave. |
| public int | minVgprAllocation()
an unsigned integer value indicating the minimum number of VGPRs allocated for a wave. |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public long | |
| public VkPhysicalDeviceShaderCorePropertiesAMD | |
| public VkPhysicalDeviceShaderCorePropertiesAMD | |
| public VkPhysicalDeviceShaderCorePropertiesAMD | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | sgprAllocationGranularity()
an unsigned integer value indicating the granularity of SGPR allocation for a wave. |
| public int | sgprsPerSimd()
an unsigned integer value indicating the number of physical Scalar General-Purpose Registers (SGPRs) per SIMD. |
| public int | shaderArraysPerEngineCount()
an unsigned integer value indicating the number of shader arrays inside a shader engine. |
| public int | shaderEngineCount()
an unsigned integer value indicating the number of shader engines found inside the shader core of the physical device. |
| public int | |
| public int | |
| public int | |
| public VkPhysicalDeviceShaderCorePropertiesAMD | |
| public VkPhysicalDeviceShaderCorePropertiesAMD | sType$Default()
Sets the |
| public int | vgprAllocationGranularity()
an unsigned integer value indicating the granularity of VGPR allocation for a wave. |
| public int | vgprsPerSimd()
an unsigned integer value indicating the number of physical Vector General-Purpose Registers (VGPRs) per SIMD. |
| public int | |
| public int |