Class VkPhysicalDeviceShaderCorePropertiesAMD

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SHADERENGINECOUNT, SHADERARRAYSPERENGINECOUNT, COMPUTEUNITSPERSHADERARRAY, SIMDPERCOMPUTEUNIT, WAVEFRONTSPERSIMD, WAVEFRONTSIZE, SGPRSPERSIMD, MINSGPRALLOCATION, MAXSGPRALLOCATION, SGPRALLOCATIONGRANULARITY, VGPRSPERSIMD, MINVGPRALLOCATION, MAXVGPRALLOCATION, VGPRALLOCATIONGRANULARITY

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceShaderCorePropertiesAMD

        public VkPhysicalDeviceShaderCorePropertiesAMD​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceShaderCorePropertiesAMD 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.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • shaderEngineCount

        public int shaderEngineCount()
        an unsigned integer value indicating the number of shader engines found inside the shader core of the physical device.
      • shaderArraysPerEngineCount

        public int shaderArraysPerEngineCount()
        an unsigned integer value indicating the number of shader arrays inside a shader engine. Each shader array has its own scan converter, set of compute units, and a render back end (color and depth attachments). Shader arrays within a shader engine share shader processor input (wave launcher) and shader export (export buffer) units. Currently, a shader engine can have one or two shader arrays.
      • computeUnitsPerShaderArray

        public int computeUnitsPerShaderArray()
        an unsigned integer value indicating the physical number of compute units within a shader array. The active number of compute units in a shader array may be lower. A compute unit houses a set of SIMDs along with a sequencer module and a local data store.
      • simdPerComputeUnit

        public int simdPerComputeUnit()
        an unsigned integer value indicating the number of SIMDs inside a compute unit. Each SIMD processes a single instruction at a time.
      • wavefrontsPerSimd

        public int wavefrontsPerSimd()
        Returns:
        the value of the wavefrontsPerSimd field.
      • wavefrontSize

        public int wavefrontSize()
        an unsigned integer value indicating the maximum size of a subgroup.
      • sgprsPerSimd

        public int sgprsPerSimd()
        an unsigned integer value indicating the number of physical Scalar General Purpose Registers (SGPRs) per SIMD.
      • minSgprAllocation

        public int minSgprAllocation()
        an unsigned integer value indicating the minimum number of SGPRs allocated for a wave.
      • maxSgprAllocation

        public int maxSgprAllocation()
        an unsigned integer value indicating the maximum number of SGPRs allocated for a wave.
      • sgprAllocationGranularity

        public int sgprAllocationGranularity()
        an unsigned integer value indicating the granularity of SGPR allocation for a wave.
      • vgprsPerSimd

        public int vgprsPerSimd()
        an unsigned integer value indicating the number of physical Vector General Purpose Registers (VGPRs) per SIMD.
      • minVgprAllocation

        public int minVgprAllocation()
        an unsigned integer value indicating the minimum number of VGPRs allocated for a wave.
      • maxVgprAllocation

        public int maxVgprAllocation()
        an unsigned integer value indicating the maximum number of VGPRs allocated for a wave.
      • vgprAllocationGranularity

        public int vgprAllocationGranularity()
        an unsigned integer value indicating the granularity of VGPR allocation for a wave.
      • malloc

        public static VkPhysicalDeviceShaderCorePropertiesAMD malloc()
        Returns a new VkPhysicalDeviceShaderCorePropertiesAMD instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkPhysicalDeviceShaderCorePropertiesAMD calloc()
        Returns a new VkPhysicalDeviceShaderCorePropertiesAMD instance allocated with memCalloc. The instance must be explicitly freed.
      • malloc

        public static VkPhysicalDeviceShaderCorePropertiesAMD malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceShaderCorePropertiesAMD instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkPhysicalDeviceShaderCorePropertiesAMD calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceShaderCorePropertiesAMD instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nshaderEngineCount

        public static int nshaderEngineCount​(long struct)
        Unsafe version of shaderEngineCount().
      • nshaderArraysPerEngineCount

        public static int nshaderArraysPerEngineCount​(long struct)
        Unsafe version of shaderArraysPerEngineCount().
      • ncomputeUnitsPerShaderArray

        public static int ncomputeUnitsPerShaderArray​(long struct)
        Unsafe version of computeUnitsPerShaderArray().
      • nsimdPerComputeUnit

        public static int nsimdPerComputeUnit​(long struct)
        Unsafe version of simdPerComputeUnit().
      • nwavefrontsPerSimd

        public static int nwavefrontsPerSimd​(long struct)
        Unsafe version of wavefrontsPerSimd().
      • nwavefrontSize

        public static int nwavefrontSize​(long struct)
        Unsafe version of wavefrontSize().
      • nsgprsPerSimd

        public static int nsgprsPerSimd​(long struct)
        Unsafe version of sgprsPerSimd().
      • nminSgprAllocation

        public static int nminSgprAllocation​(long struct)
        Unsafe version of minSgprAllocation().
      • nmaxSgprAllocation

        public static int nmaxSgprAllocation​(long struct)
        Unsafe version of maxSgprAllocation().
      • nsgprAllocationGranularity

        public static int nsgprAllocationGranularity​(long struct)
        Unsafe version of sgprAllocationGranularity().
      • nvgprsPerSimd

        public static int nvgprsPerSimd​(long struct)
        Unsafe version of vgprsPerSimd().
      • nminVgprAllocation

        public static int nminVgprAllocation​(long struct)
        Unsafe version of minVgprAllocation().
      • nmaxVgprAllocation

        public static int nmaxVgprAllocation​(long struct)
        Unsafe version of maxVgprAllocation().
      • nvgprAllocationGranularity

        public static int nvgprAllocationGranularity​(long struct)
        Unsafe version of vgprAllocationGranularity().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.