namespace Brutal.VulkanApi
{
///
/// VkCooperativeMatrixPropertiesKHR - Structure specifying cooperative matrix properties
///
///
///
/// The VkCooperativeMatrixPropertiesKHR structure is defined as:
///
///
/// // Provided by VK_KHR_cooperative_matrix
/// typedef struct VkCooperativeMatrixPropertiesKHR {
/// VkStructureType sType;
/// void* pNext;
/// uint32_t MSize;
/// uint32_t NSize;
/// uint32_t KSize;
/// VkComponentTypeKHR AType;
/// VkComponentTypeKHR BType;
/// VkComponentTypeKHR CType;
/// VkComponentTypeKHR ResultType;
/// VkBool32 saturatingAccumulation;
/// VkScopeKHR scope;
/// } VkCooperativeMatrixPropertiesKHR;
///
///
[StructLayout(LayoutKind.Explicit, Size = 56)]
public unsafe partial struct VkCooperativeMatrixPropertiesKHR()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.CooperativeMatrixPropertiesKHR;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// MSize is the number of rows in matrices A, C, and Result.
///
[FieldOffset(16)]
public int MSize;
///
/// NSize is the number of columns in matrices B, C, Result.
///
[FieldOffset(20)]
public int NSize;
///
/// KSize is the number of columns in matrix A and rows in matrix B.
///
[FieldOffset(24)]
public int KSize;
///
/// 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;
}
}