Class VkPhysicalDeviceShaderCorePropertiesAMD

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceShaderCorePropertiesAMD extends Struct<VkPhysicalDeviceShaderCorePropertiesAMD> implements NativeResource

 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;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • SHADERENGINECOUNT

      public static final int SHADERENGINECOUNT
      The struct member offsets.
    • SHADERARRAYSPERENGINECOUNT

      public static final int SHADERARRAYSPERENGINECOUNT
      The struct member offsets.
    • COMPUTEUNITSPERSHADERARRAY

      public static final int COMPUTEUNITSPERSHADERARRAY
      The struct member offsets.
    • SIMDPERCOMPUTEUNIT

      public static final int SIMDPERCOMPUTEUNIT
      The struct member offsets.
    • WAVEFRONTSPERSIMD

      public static final int WAVEFRONTSPERSIMD
      The struct member offsets.
    • WAVEFRONTSIZE

      public static final int WAVEFRONTSIZE
      The struct member offsets.
    • SGPRSPERSIMD

      public static final int SGPRSPERSIMD
      The struct member offsets.
    • MINSGPRALLOCATION

      public static final int MINSGPRALLOCATION
      The struct member offsets.
    • MAXSGPRALLOCATION

      public static final int MAXSGPRALLOCATION
      The struct member offsets.
    • SGPRALLOCATIONGRANULARITY

      public static final int SGPRALLOCATIONGRANULARITY
      The struct member offsets.
    • VGPRSPERSIMD

      public static final int VGPRSPERSIMD
      The struct member offsets.
    • MINVGPRALLOCATION

      public static final int MINVGPRALLOCATION
      The struct member offsets.
    • MAXVGPRALLOCATION

      public static final int MAXVGPRALLOCATION
      The struct member offsets.
    • VGPRALLOCATIONGRANULARITY

      public static final int VGPRALLOCATIONGRANULARITY
      The struct member offsets.
  • Constructor Details

    • VkPhysicalDeviceShaderCorePropertiesAMD

      public VkPhysicalDeviceShaderCorePropertiesAMD(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 Details