mirror of https://github.com/intel/gmmlib.git
Add CpTag to CreateCustomResource
This commit is contained in:
parent
45cf47788b
commit
6f19987ed2
|
@ -156,6 +156,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmResourceInfoCommon::CreateCustomRes(Context &G
|
||||||
Surf.Alignment.BaseAlignment = CreateParams.BaseAlignment;
|
Surf.Alignment.BaseAlignment = CreateParams.BaseAlignment;
|
||||||
Surf.MaxLod = 1;
|
Surf.MaxLod = 1;
|
||||||
Surf.ArraySize = 1;
|
Surf.ArraySize = 1;
|
||||||
|
Surf.CpTag = CreateParams.CpTag;
|
||||||
|
|
||||||
#if(_DEBUG || _RELEASE_INTERNAL)
|
#if(_DEBUG || _RELEASE_INTERNAL)
|
||||||
Surf.Platform = GetGmmLibContext()->GetPlatformInfo().Platform;
|
Surf.Platform = GetGmmLibContext()->GetPlatformInfo().Platform;
|
||||||
|
|
|
@ -361,6 +361,7 @@ typedef struct GMM_RESCREATE_CUSTOM_PARAMS__REC
|
||||||
}PlaneOffset;
|
}PlaneOffset;
|
||||||
|
|
||||||
uint32_t NoOfPlanes;
|
uint32_t NoOfPlanes;
|
||||||
|
uint32_t CpTag;
|
||||||
}GMM_RESCREATE_CUSTOM_PARAMS;
|
}GMM_RESCREATE_CUSTOM_PARAMS;
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
Loading…
Reference in New Issue