namespace Brutal.VulkanApi { /// /// VkPhysicalDeviceShaderCorePropertiesAMD - Structure describing shader core properties that can be supported by an implementation /// /// /// /// The VkPhysicalDeviceShaderCorePropertiesAMD structure is defined as: /// /// /// // Provided by VK_AMD_shader_core_properties /// typedef 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; /// } VkPhysicalDeviceShaderCorePropertiesAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public unsafe partial struct VkPhysicalDeviceShaderCorePropertiesAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PhysicalDeviceShaderCorePropertiesAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// ShaderEngineCount /// [FieldOffset(16)] public int ShaderEngineCount; /// /// ShaderArraysPerEngineCount /// [FieldOffset(20)] public int ShaderArraysPerEngineCount; /// /// ComputeUnitsPerShaderArray /// [FieldOffset(24)] public int ComputeUnitsPerShaderArray; /// /// SimdPerComputeUnit /// [FieldOffset(28)] public int SimdPerComputeUnit; /// /// WavefrontsPerSimd /// [FieldOffset(32)] public int WavefrontsPerSimd; /// /// WavefrontSize /// [FieldOffset(36)] public int WavefrontSize; /// /// SgprsPerSimd /// [FieldOffset(40)] public int SgprsPerSimd; /// /// MinSgprAllocation /// [FieldOffset(44)] public int MinSgprAllocation; /// /// MaxSgprAllocation /// [FieldOffset(48)] public int MaxSgprAllocation; /// /// SgprAllocationGranularity /// [FieldOffset(52)] public int SgprAllocationGranularity; /// /// VgprsPerSimd /// [FieldOffset(56)] public int VgprsPerSimd; /// /// MinVgprAllocation /// [FieldOffset(60)] public int MinVgprAllocation; /// /// MaxVgprAllocation /// [FieldOffset(64)] public int MaxVgprAllocation; /// /// VgprAllocationGranularity /// [FieldOffset(68)] public int VgprAllocationGranularity; } }