This commit is contained in:
Herman Semenoff 2025-05-05 02:45:29 +00:00 committed by GitHub
commit 64c141644e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View File

@ -442,20 +442,20 @@ typedef struct GMM_TEXTURE_ALIGN_REC
//---------------------------------------------------------------------------
typedef struct __GMM_BUFFER_TYPE_REC
{
uint32_t Alignment; // Base Address Alignment
GMM_GFX_SIZE_T MinAllocationSize; // Minimum Allocation size requirement
GMM_GFX_SIZE_T MaxPitch; // Maximum pitch
uint32_t MinPitch; // Minimum pitch
uint32_t PitchAlignment; // Pitch Alignment restriction.
uint32_t RenderPitchAlignment; // Pitch Alignment for render surface
uint32_t LockPitchAlignment; // Pitch Alignment for locked surface
uint32_t MinPitch; // Minimum pitch
GMM_GFX_SIZE_T MaxPitch; // Maximum pitch
GMM_GFX_SIZE_T MinAllocationSize; // Minimum Allocation size requirement
uint32_t Alignment; // Base Address Alignment
uint32_t MinHeight; // Mininum height in bytes
GMM_GFX_SIZE_T MinWidth; // Minimum width in bytes
uint32_t MinDepth; // Minimum depth (only for volume)
GMM_GFX_SIZE_T MaxHeight; // Maximum height in bytes
GMM_GFX_SIZE_T MaxWidth; // Maximum Width in bytes
GMM_GFX_SIZE_T MaxHeight; // Maximum height in bytes
uint32_t MinWidth; // Minimum width in bytes
uint32_t MinHeight; // Mininum height in bytes
uint32_t MaxDepth; // Maximum depth (only for volume)
uint32_t MinDepth; // Minimum depth (only for volume)
uint32_t MaxArraySize;
uint8_t NeedPow2LockAlignment; // Locking surface need to be power of 2 aligned
} __GMM_BUFFER_TYPE;

View File

@ -383,8 +383,8 @@ typedef struct GMM_RESCREATE_CUSTOM_PARAMS_2_REC : public GMM_RESCREATE_CUSTOM_P
{
struct
{
uint32_t Pitch;
GMM_GFX_SIZE_T Size;
uint32_t Pitch;
uint32_t BaseAlignment;
struct
{