namespace Brutal.VulkanApi { /// /// VkShaderStatisticsInfoAMD - Statistical information about a particular shader within a pipeline /// /// /// /// The VkShaderStatisticsInfoAMD structure is defined as: /// /// /// // Provided by VK_AMD_shader_info /// typedef struct VkShaderStatisticsInfoAMD { /// VkShaderStageFlags shaderStageMask; /// VkShaderResourceUsageAMD resourceUsage; /// uint32_t numPhysicalVgprs; /// uint32_t numPhysicalSgprs; /// uint32_t numAvailableVgprs; /// uint32_t numAvailableSgprs; /// uint32_t computeWorkGroupSize[3]; /// } VkShaderStatisticsInfoAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 72)] public partial struct VkShaderStatisticsInfoAMD() { /// /// ShaderStageMask are the combination of logical shader stages contained within this shader. /// [FieldOffset(0)] public VkShaderStageFlags ShaderStageMask; /// /// ResourceUsage is a VkShaderResourceUsageAMD structure describing internal physical device resources used by this shader. /// [FieldOffset(8)] public VkShaderResourceUsageAMD ResourceUsage; /// /// NumPhysicalVgprs is the maximum number of vector instruction general-purpose registers (VGPRs) available to the physical device. /// [FieldOffset(40)] public int NumPhysicalVgprs; /// /// NumPhysicalSgprs is the maximum number of scalar instruction general-purpose registers (SGPRs) available to the physical device. /// [FieldOffset(44)] public int NumPhysicalSgprs; /// /// NumAvailableVgprs is the maximum limit of VGPRs made available to the shader compiler. /// [FieldOffset(48)] public int NumAvailableVgprs; /// /// NumAvailableSgprs is the maximum limit of SGPRs made available to the shader compiler. /// [FieldOffset(52)] public int NumAvailableSgprs; /// /// ComputeWorkGroupSize is the local workgroup size of this shader in { X, Y, Z } dimensions. /// [FieldOffset(56)] public uint3 ComputeWorkGroupSize; } }