swr/rast: Don't transition hottile resolved->dirty during store tiles
Fixes crash when dumping render targets and RT surface has been deleted. Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
@@ -386,7 +386,10 @@ void ProcessStoreTileBE(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t macroTile
|
||||
|
||||
if (pHotTile->state == HOTTILE_DIRTY || pHotTile->state == HOTTILE_RESOLVED)
|
||||
{
|
||||
pHotTile->state = (HOTTILE_STATE)pDesc->postStoreTileState;
|
||||
if (!(pDesc->postStoreTileState == HOTTILE_DIRTY && pHotTile->state == HOTTILE_RESOLVED))
|
||||
{
|
||||
pHotTile->state = (HOTTILE_STATE)pDesc->postStoreTileState;
|
||||
}
|
||||
}
|
||||
}
|
||||
AR_END(BEStoreTiles, 1);
|
||||
|
||||
Reference in New Issue
Block a user