namespace Brutal.VulkanApi
{
///
/// VkCooperativeMatrixFlexibleDimensionsPropertiesNV - Structure specifying cooperative matrix properties
///
///
///
/// The VkCooperativeMatrixFlexibleDimensionsPropertiesNV structure is
/// defined as:
///
///
/// // Provided by VK_NV_cooperative_matrix2
/// typedef struct VkCooperativeMatrixFlexibleDimensionsPropertiesNV {
/// VkStructureType sType;
/// void* pNext;
/// uint32_t MGranularity;
/// uint32_t NGranularity;
/// uint32_t KGranularity;
/// VkComponentTypeKHR AType;
/// VkComponentTypeKHR BType;
/// VkComponentTypeKHR CType;
/// VkComponentTypeKHR ResultType;
/// VkBool32 saturatingAccumulation;
/// VkScopeKHR scope;
/// uint32_t workgroupInvocations;
/// } VkCooperativeMatrixFlexibleDimensionsPropertiesNV;
///
///
[StructLayout(LayoutKind.Explicit, Size = 56)]
public unsafe partial struct VkCooperativeMatrixFlexibleDimensionsPropertiesNV()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.CooperativeMatrixFlexibleDimensionsPropertiesNV;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// MGranularity is the granularity of the number of rows in matrices A, C, and Result. The rows must be an integer multiple of this value.
///
[FieldOffset(16)]
public int MGranularity;
///
/// NGranularity is the granularity of columns in matrices B, C, Result. The columns must be an integer multiple of this value.
///
[FieldOffset(20)]
public int NGranularity;
///
/// KGranularity is the granularity of columns in matrix A and rows in matrix B. The columns/rows must be an integer multiple of this value.
///
[FieldOffset(24)]
public int KGranularity;
///
/// AType is the component type of matrix A, of type VkComponentTypeKHR.
///
[FieldOffset(28)]
public VkComponentTypeKHR AType;
///
/// BType is the component type of matrix B, of type VkComponentTypeKHR.
///
[FieldOffset(32)]
public VkComponentTypeKHR BType;
///
/// CType is the component type of matrix C, of type VkComponentTypeKHR.
///
[FieldOffset(36)]
public VkComponentTypeKHR CType;
///
/// ResultType is the component type of matrix Result, of type VkComponentTypeKHR.
///
[FieldOffset(40)]
public VkComponentTypeKHR ResultType;
///
/// SaturatingAccumulation indicates whether the SaturatingAccumulation operand to OpCooperativeMatrixMulAddKHR must be present or not. If it is VK_TRUE, the SaturatingAccumulation operand must be present. If it is VK_FALSE, the SaturatingAccumulation operand must not be present.
///
[FieldOffset(44)]
public Brutal.Bool32 SaturatingAccumulation;
///
/// Scope is the scope of all the matrix types, of type VkScopeKHR.
///
[FieldOffset(48)]
public VkScopeKHR Scope;
///
/// WorkgroupInvocations is the number of invocations in the local workgroup when this combination of values is supported.
///
[FieldOffset(52)]
public int WorkgroupInvocations;
}
}