mirror of https://github.com/intel/gmmlib.git
Refactor boolean false type
This commit is contained in:
parent
3d338c1c0a
commit
df21d752fc
|
@ -246,7 +246,7 @@ bool GmmLib::GmmResourceInfoCommon::CopyClientParams(GMM_RESCREATE_PARAMS &Creat
|
||||||
GMM_GTT_CACHETYPE_UNCACHED;
|
GMM_GTT_CACHETYPE_UNCACHED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(GetGmmLibContext()->GetSkuTable().FtrCameraCaptureCaching == FALSE &&
|
if(GetGmmLibContext()->GetSkuTable().FtrCameraCaptureCaching == false &&
|
||||||
CreateParams.Flags.Gpu.CameraCapture)
|
CreateParams.Flags.Gpu.CameraCapture)
|
||||||
{
|
{
|
||||||
Surf.Flags.Info.Cacheable = 0;
|
Surf.Flags.Info.Cacheable = 0;
|
||||||
|
|
|
@ -903,7 +903,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmGen10TextureCalc::FillTexPlanar(GMM_TEXTURE_IN
|
||||||
{
|
{
|
||||||
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
||||||
{
|
{
|
||||||
__GMM_ASSERT(FALSE);
|
__GMM_ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1113,7 +1113,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmGen11TextureCalc::FillTexPlanar(GMM_TEXTURE_IN
|
||||||
{
|
{
|
||||||
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
||||||
{
|
{
|
||||||
__GMM_ASSERT(FALSE);
|
__GMM_ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -957,7 +957,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmGen12TextureCalc::FillTexPlanar(GMM_TEXTURE_IN
|
||||||
{
|
{
|
||||||
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
||||||
{
|
{
|
||||||
__GMM_ASSERT(FALSE);
|
__GMM_ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1258,7 +1258,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmTextureCalc::FillTexPlanar(GMM_TEXTURE_INFO *
|
||||||
{
|
{
|
||||||
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
||||||
{
|
{
|
||||||
__GMM_ASSERT(FALSE);
|
__GMM_ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -482,7 +482,7 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmXe_LPGTextureCalc::FillTexPlanar(GMM_TEXTURE_I
|
||||||
{
|
{
|
||||||
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
if(false == RedescribeTexturePlanes(pTexInfo, &WidthBytesPhysical))
|
||||||
{
|
{
|
||||||
__GMM_ASSERT(FALSE);
|
__GMM_ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if((Status = // <-- Note assignment.
|
if((Status = // <-- Note assignment.
|
||||||
|
|
Loading…
Reference in New Issue