File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -323,12 +323,9 @@ void GmmLib::GmmGen11TextureCalc::FillPlanarOffsetAddress(GMM_TEXTURE_INFO *pTex
323323
324324 if (GFX_GET_CURRENT_RENDERCORE (pPlatform->Platform ) > IGFX_GEN11LP_CORE)
325325 {
326- if (pTexInfo->Flags .Gpu .CCS )
327- {
328- // U/V must be aligned to AuxT granularity, for 16K AuxT- 4x pitchalign enforces it,
329- // add extra padding for 64K AuxT
330- TileHeight *= (!GMM_IS_64KB_TILE (pTexInfo->Flags ) && !WA16K) ? 4 : 1 ;
331- }
326+ // U/V must be aligned to AuxT granularity, for 16K AuxT- 4x pitchalign enforces it,
327+ // add extra padding for 64K AuxT
328+ TileHeight *= (!GMM_IS_64KB_TILE (pTexInfo->Flags ) && !WA16K) ? 4 : 1 ;
332329 }
333330
334331 *pUOffsetX = GFX_ALIGN (*pUOffsetX, TileWidth);
Original file line number Diff line number Diff line change @@ -836,12 +836,9 @@ GMM_STATUS GMM_STDCALL GmmLib::GmmGen12TextureCalc::FillTexPlanar(GMM_TEXTURE_IN
836836
837837 pTexInfo->OffsetInfo .Plane .IsTileAlignedPlanes = true ;
838838
839- if (pTexInfo->Flags .Gpu .CCS )
840- {
841- // U/V must be aligned to AuxT granularity, 4x pitchalign enforces 16K-align,
842- // add extra padding for 64K AuxT
843- TileHeight *= (!GMM_IS_64KB_TILE (pTexInfo->Flags ) && !WA16K) ? 4 : 1 ;
844- }
839+ // U/V must be aligned to AuxT granularity, 4x pitchalign enforces 16K-align,
840+ // add extra padding for 64K AuxT
841+ TileHeight *= (!GMM_IS_64KB_TILE (pTexInfo->Flags ) && !WA16K) ? 4 : 1 ;
845842
846843 if (pTexInfo->Format == GMM_FORMAT_IMC2 || // IMC2, IMC4 needs even tile columns
847844 pTexInfo->Format == GMM_FORMAT_IMC4)
You can’t perform that action at this time.
0 commit comments