mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
swr: [rasterizer memory] Add missing store tiles function
Storing color hot tile to 8bit w-major stencil format. Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
5332c9d931
commit
bc084e6b3d
1 changed files with 4 additions and 1 deletions
|
|
@ -1523,7 +1523,7 @@ void StoreHotTile(
|
|||
|
||||
PFN_STORE_TILES pfnStoreTiles = nullptr;
|
||||
|
||||
if ((renderTargetIndex <= SWR_ATTACHMENT_COLOR7) && (pDstSurface->tileMode != SWR_TILE_MODE_WMAJOR))
|
||||
if (renderTargetIndex <= SWR_ATTACHMENT_COLOR7)
|
||||
{
|
||||
pfnStoreTiles = sStoreTilesTableColor[pDstSurface->tileMode][pDstSurface->format];
|
||||
}
|
||||
|
|
@ -1713,4 +1713,7 @@ void InitSimStoreTilesTable()
|
|||
|
||||
InitStoreTilesTableDepth<SWR_TILE_MODE_YMAJOR>(sStoreTilesTableDepth);
|
||||
InitStoreTilesTableStencil<SWR_TILE_MODE_WMAJOR>(sStoreTilesTableStencil);
|
||||
|
||||
// special color hot tile -> 8-bit WMAJOR
|
||||
sStoreTilesTableColor[SWR_TILE_MODE_WMAJOR][R8_UINT] = StoreMacroTile<TilingTraits<SWR_TILE_MODE_WMAJOR, 8>, R32G32B32A32_FLOAT, R8_UINT>::Store;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue