mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
swr: [rasterizer core] don't attempt to load another RTAI when storing
Since we don't pass a renderTargetArrayIndex in, and the current hot tile may be for a different index, we may end up loading the RTAI=0 into the hot tile for no reason. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
77014a0ad3
commit
a9d292f5bd
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ void ProcessStoreTileBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile
|
|||
MacroTileMgr::getTileIndices(macroTile, x, y);
|
||||
|
||||
// Only need to store the hottile if it's been rendered to...
|
||||
HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTile(pContext, pDC, macroTile, attachment, false);
|
||||
HOTTILE *pHotTile = pContext->pHotTileMgr->GetHotTileNoLoad(pContext, pDC, macroTile, attachment, false);
|
||||
if (pHotTile)
|
||||
{
|
||||
// clear if clear is pending (i.e., not rendered to), then mark as dirty for store.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue