Refactor boolean false type

This commit is contained in:
John Machado 2023-04-24 10:41:28 +05:30 committed by GitHub
parent 3d338c1c0a
commit df21d752fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }

View File

@ -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.